Add some missing casts to silence compiler warnings

This commit is contained in:
David Leadbeater 2014-06-26 00:34:25 +01:00
commit 86fcadb85d
2 changed files with 2 additions and 2 deletions

View file

@ -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;