[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104003: Avoid compilation warnings i
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104003: Avoid compilation warnings in gnutls.c on 64-bit hosts. |
Date: |
Mon, 25 Apr 2011 13:42:57 +0300 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104003
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2011-04-25 13:42:57 +0300
message:
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".
modified:
src/ChangeLog
src/gnutls.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-04-25 08:04:22 +0000
+++ b/src/ChangeLog 2011-04-25 10:42:57 +0000
@@ -1,5 +1,8 @@
2011-04-25 Eli Zaretskii <address@hidden>
+ * 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
=== modified file 'src/gnutls.c'
--- a/src/gnutls.c 2011-04-25 01:30:51 +0000
+++ b/src/gnutls.c 2011-04-25 10:42:57 +0000
@@ -101,8 +101,8 @@
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104003: Avoid compilation warnings in gnutls.c on 64-bit hosts.,
Eli Zaretskii <=