]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tidy up around the ex AMD64 'fix'
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 17 Mar 2006 01:39:01 +0000 (01:39 +0000)
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 17 Mar 2006 01:39:01 +0000 (01:39 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/extra/m_ssl_gnutls.cpp

index b7da4d3db92b7d7093d84a1a44a69ac6172e12ad..33f15e376cafda4ffb6e1160cae18b19ead3e1c3 100644 (file)
@@ -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);
        }