- Timestamp:
- 2007-11-22T22:56:52Z (17 years ago)
- Branches:
- master
- Children:
- df6d1da
- Parents:
- d75597b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
rd75597b r56f260a 35 35 36 36 static gboolean initialized = FALSE; 37 38 #include <limits.h> 39 40 #if defined(ULONG_MAX) && ULONG_MAX > 4294967295UL 41 #define GNUTLS_STUPID_CAST (long) 42 #else 43 #define GNUTLS_STUPID_CAST (int) 44 #endif 37 45 38 46 struct scd … … 125 133 126 134 sock_make_nonblocking( conn->fd ); 127 gnutls_transport_set_ptr( conn->session, (gnutls_transport_ptr) conn->fd );135 gnutls_transport_set_ptr( conn->session, (gnutls_transport_ptr) GNUTLS_STUPID_CAST conn->fd ); 128 136 129 137 return ssl_handshake( data, source, cond );
Note: See TracChangeset
for help on using the changeset viewer.