Commit fb11d64d authored by Eli Zaretskii's avatar Eli Zaretskii

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".
parent e7d4e61f
2011-04-25 Eli Zaretskii <eliz@gnu.org>
* gnutls.c (emacs_gnutls_handshake): Avoid compiler warnings about
"cast to pointer from integer of different size".
Improve doprnt and its use in verror. (Bug#8545)
* doprnt.c (doprnt): Document the set of format control sequences
supported by the function. Use SAFE_ALLOCA instead of always
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment