diff options
| author | Eli Zaretskii | 2011-04-25 13:42:57 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-04-25 13:42:57 +0300 |
| commit | fb11d64dc8597a529688bc8bcaa7f3da4b538dc4 (patch) | |
| tree | ef264c31ad728303b77b250eda16f77456be7483 /src/gnutls.c | |
| parent | e7d4e61f1ef1493a479e20db4d26f00f0116ec2a (diff) | |
| download | emacs-fb11d64dc8597a529688bc8bcaa7f3da4b538dc4.tar.gz emacs-fb11d64dc8597a529688bc8bcaa7f3da4b538dc4.zip | |
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) | |||
| 101 | in. For an Emacs process socket, infd and outfd are the | 101 | in. For an Emacs process socket, infd and outfd are the |
| 102 | same but we use this two-argument version for clarity. */ | 102 | same but we use this two-argument version for clarity. */ |
| 103 | gnutls_transport_set_ptr2 (state, | 103 | gnutls_transport_set_ptr2 (state, |
| 104 | (gnutls_transport_ptr_t) proc->infd, | 104 | (gnutls_transport_ptr_t) (long) proc->infd, |
| 105 | (gnutls_transport_ptr_t) proc->outfd); | 105 | (gnutls_transport_ptr_t) (long) proc->outfd); |
| 106 | #endif | 106 | #endif |
| 107 | 107 | ||
| 108 | proc->gnutls_initstage = GNUTLS_STAGE_TRANSPORT_POINTERS_SET; | 108 | proc->gnutls_initstage = GNUTLS_STAGE_TRANSPORT_POINTERS_SET; |