wmbiff: Fix cast to pointer from integer of different size compiler warning.
This commit is contained in:
parent
5280405ca6
commit
e2ad0cfece
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue