mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Tidy up around the ex AMD64 'fix'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b7c8361317
commit
8f912b54ca
@ -252,10 +252,12 @@ class ModuleSSLGnuTLS : public Module
|
||||
/* This is an experimental change to avoid a warning on 64bit systems about casting between integer and pointer of different sizes
|
||||
* This needs testing, but it's easy enough to rollback if need be
|
||||
* Old: gnutls_transport_set_ptr(session->sess, (gnutls_transport_ptr_t) fd); // Give gnutls the fd for the socket.
|
||||
* New: gnutls_transport_set_ptr(session->sess, &fd); // Give gnutls the fd for the socket.
|
||||
*
|
||||
* With testing this seems to...not work :/
|
||||
*/
|
||||
|
||||
gnutls_transport_set_ptr(session->sess, (gnutls_transport_ptr_t) fd); // Give gnutls the fd for the socket.
|
||||
// gnutls_transport_set_ptr(session->sess, &fd); // Give gnutls the fd for the socket.
|
||||
|
||||
Handshake(session);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user