[Help-gnutls] 64bit + gnutls_transport_set_ptr
Oliver Lupton
oliverlupton at gmail.com
Fri Mar 17 23:39:39 CET 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20060317/5cbd34f4/attachment.pgp>
More information about the Gnutls-help
mailing list