summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-17 01:39:01 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-17 01:39:01 +0000
commit8f912b54ca6ad5de004fc31292d115a3eb223fd3 (patch)
tree42177670511943def866cb61400ea3ee8574c674 /src/modules/extra
parentb7c836131701f852fcd770718b860b5d87e832a1 (diff)
Tidy up around the ex AMD64 'fix'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index b7da4d3db..33f15e376 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -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);
}