Is there any way I can avoid this compile warning on 64bit systems?

gnutls_transport_set_ptr(session->sess, (gnutls_transport_ptr_t) fd);

Gives me:

m_ssl_gnutls.cpp:260: warning: cast to pointer from integer of different
size

I can see why...it's casting from a 32bit int to a 64bit void*, but is
there any way I can lose the warning without breaking the code? :)

Cheers,

-ol

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to