mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
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".
This commit is contained in:
parent
e7d4e61f1e
commit
fb11d64dc8
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue