Changes in lib/ssl_gnutls.c [720f7a9:0db6618]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r720f7a9 r0db6618 42 42 #include <limits.h> 43 43 44 #if defined(ULONG_MAX) && ULONG_MAX > 4294967295UL 45 #define GNUTLS_STUPID_CAST (long) 46 #else 47 #define GNUTLS_STUPID_CAST (int) 48 #endif 49 44 50 #define SSLDEBUG 0 45 51 … … 329 335 330 336 sock_make_nonblocking(conn->fd); 331 gnutls_transport_set_ptr(conn->session, (gnutls_transport_ptr_t) (long)conn->fd);337 gnutls_transport_set_ptr(conn->session, (gnutls_transport_ptr_t) GNUTLS_STUPID_CAST conn->fd); 332 338 333 339 ssl_cache_resume(conn);
Note: See TracChangeset
for help on using the changeset viewer.