summaryrefslogtreecommitdiff
path: root/src/core/network-openssl.c
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2014-06-26 00:34:25 +0100
committerDavid Leadbeater <dgl@dgl.cx>2014-06-26 00:44:07 +0100
commit86fcadb85da04bc4e8bf7546cd0aabe98efbd008 (patch)
treeff9d408a022a8a983eb2ac9acb3537bee5c69804 /src/core/network-openssl.c
parentc26a634fe6f65f44cdd036d2657fe4335ed6e309 (diff)
downloadirssi-86fcadb85da04bc4e8bf7546cd0aabe98efbd008.zip
Add some missing casts to silence compiler warnings
Diffstat (limited to 'src/core/network-openssl.c')
-rw-r--r--src/core/network-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c
index 6a0d078c..768fd540 100644
--- a/src/core/network-openssl.c
+++ b/src/core/network-openssl.c
@@ -477,7 +477,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, int port, SERVER_
}
SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2);
SSL_CTX_set_default_passwd_cb(ctx, get_pem_password_callback);
- SSL_CTX_set_default_passwd_cb_userdata(ctx, mypass);
+ SSL_CTX_set_default_passwd_cb_userdata(ctx, (void *)mypass);
if (mycert && *mycert) {
char *scert = NULL, *spkey = NULL;