---
wmbiff/wmbiff/tlsComm.c | 2 +-
wmbiff/wmbiff/tlsComm.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wmbiff/wmbiff/tlsComm.c b/wmbiff/wmbiff/tlsComm.c
index a99afa8..478b555 100644
--- a/wmbiff/wmbiff/tlsComm.c
+++ b/wmbiff/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/wmbiff/tlsComm.h b/wmbiff/wmbiff/tlsComm.h
index 26fa43c..15ffa4a 100644
--- a/wmbiff/wmbiff/tlsComm.h
+++ b/wmbiff/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
--
2.1.0
--
To unsubscribe, send mail to [email protected].