about summary refs log tree commit diff
path: root/src/ipaddr
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-10-29 23:51:39 +0100
committerFlorian Westphal <fw@strlen.de>2008-10-29 23:51:39 +0100
commit125c05fba0315da143c3431a41bd930fcb992501 (patch)
treeda710ad800de989d5db396a1bca0ef3dfb4db782 /src/ipaddr
parentfb19b05e1e3d638062dcfc4c263b02e7429c4d20 (diff)
downloadngircd-125c05fba0315da143c3431a41bd930fcb992501.tar.gz
ngircd-125c05fba0315da143c3431a41bd930fcb992501.zip
conn-ssl.c: work around gnutls API problems on 64 bit platforms
Alexander Barton reported a compiler warning on 64-bit platforms:
cc1: warnings being treated as errors
conn-ssl.c: In function 'ConnSSL_Init_SSL':
conn-ssl.c:403: error: cast to pointer from integer of
different size

Unfortunately, I couldn't find a real solution; the GNUTLS
API expects 'gnutls_transport_ptr_t' (which is void*),
but the default push/pull functions (send/recv) expect an int.

The only alternative solution is to pass in an address to the
file descriptor, then add send/recv wrappers that expect a pointer.

What a mess[tm].
Diffstat (limited to 'src/ipaddr')
0 files changed, 0 insertions, 0 deletions