help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] 64bit + gnutls_transport_set_ptr


From: Oliver Lupton
Subject: [Help-gnutls] 64bit + gnutls_transport_set_ptr
Date: Fri, 17 Mar 2006 22:39:39 +0000
User-agent: Mail/News 1.5 (X11/20060225)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]