[Pkg-wmaker-commits] [wmbiff] 32/92: wmbiff: Fix cast to pointer from integer of different size compiler warning.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 02:59:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbiff.

commit 1b52bf44b152a9d5942135e5154c5b95e5265c7b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Fri Nov 7 21:31:24 2014 -0600

    wmbiff: Fix cast to pointer from integer of different size compiler warning.
---
 wmbiff/tlsComm.c | 2 +-
 wmbiff/tlsComm.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/wmbiff/tlsComm.c b/wmbiff/tlsComm.c
index a99afa8..478b555 100644
--- a/wmbiff/tlsComm.c
+++ b/wmbiff/tlsComm.c
@@ -539,7 +539,7 @@ tls_check_certificate(struct connection_state *scs,
 	return;
 }
 
-struct connection_state *initialize_gnutls(int sd, char *name, Pop3 pc,
+struct connection_state *initialize_gnutls(intptr_t sd, char *name, Pop3 pc,
 										   const char *remote_hostname)
 {
 	static int gnutls_initialized;
diff --git a/wmbiff/tlsComm.h b/wmbiff/tlsComm.h
index 26fa43c..15ffa4a 100644
--- a/wmbiff/tlsComm.h
+++ b/wmbiff/tlsComm.h
@@ -9,6 +9,7 @@
 */
 
 /* used to drill through per-mailbox debug keys */
+#include <stdint.h>
 #include "Client.h"
 
 /* opaque reference to the state associated with a
@@ -19,7 +20,7 @@ struct connection_state;
 /* take a socket descriptor and negotiate a TLS connection
    over it */
 /*@only@*/
-struct connection_state *initialize_gnutls(int sd, /*@only@ */ char *name,
+struct connection_state *initialize_gnutls(intptr_t sd, /*@only@ */ char *name,
 										   Pop3 pc, const char *hostname);
 
 /* take a socket descriptor and bundle it into a connection

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list