forked from PsychoticNinja/irssi
Add some missing casts to silence compiler warnings
This commit is contained in:
parent
c26a634fe6
commit
86fcadb85d
@ -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_options(ctx, SSL_OP_NO_SSLv2);
|
||||||
SSL_CTX_set_default_passwd_cb(ctx, get_pem_password_callback);
|
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) {
|
if (mycert && *mycert) {
|
||||||
char *scert = NULL, *spkey = NULL;
|
char *scert = NULL, *spkey = NULL;
|
||||||
|
@ -242,7 +242,7 @@ static void hide_safe_channel_id(IRC_SERVER_REC *server, char *chans)
|
|||||||
if (idchan == NULL)
|
if (idchan == NULL)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nick_flags = server->get_nick_flags(server);
|
nick_flags = server->get_nick_flags(SERVER(server));
|
||||||
|
|
||||||
while (*idchan != '\0') {
|
while (*idchan != '\0') {
|
||||||
id = *idchan;
|
id = *idchan;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user