diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-04-25 13:42:57 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-04-25 13:42:57 +0300 |
commit | fb11d64dc8597a529688bc8bcaa7f3da4b538dc4 (patch) | |
tree | ef264c31ad728303b77b250eda16f77456be7483 /src/gnutls.c | |
parent | e7d4e61f1ef1493a479e20db4d26f00f0116ec2a (diff) | |
download | emacs-fb11d64dc8597a529688bc8bcaa7f3da4b538dc4.tar.gz |
Avoid compilation warnings in gnutls.c on 64-bit hosts.
src/gnutls.c (emacs_gnutls_handshake): Avoid compiler warnings about
"cast to pointer from integer of different size".
Diffstat (limited to 'src/gnutls.c')
-rw-r--r-- | src/gnutls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index 18ceb79193b..975fe655072 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -101,8 +101,8 @@ emacs_gnutls_handshake (struct Lisp_Process *proc) in. For an Emacs process socket, infd and outfd are the same but we use this two-argument version for clarity. */ gnutls_transport_set_ptr2 (state, - (gnutls_transport_ptr_t) proc->infd, - (gnutls_transport_ptr_t) proc->outfd); + (gnutls_transport_ptr_t) (long) proc->infd, + (gnutls_transport_ptr_t) (long) proc->outfd); #endif proc->gnutls_initstage = GNUTLS_STAGE_TRANSPORT_POINTERS_SET; |