diff options
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 3 | ||||
-rw-r--r-- | src/irc/dcc/dcc-files.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 7a331388..f1f82647 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -251,7 +251,8 @@ static void dcc_chat_connect(DCC_REC *dcc) dcc->handle = net_connect_ip(&dcc->addr, dcc->port, source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagconn = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ, + dcc->tagconn = g_input_add(dcc->handle, + (GInputCondition) (G_INPUT_WRITE|G_INPUT_READ), (GInputFunction) sig_chat_connected, dcc); } else { /* error connecting */ diff --git a/src/irc/dcc/dcc-files.c b/src/irc/dcc/dcc-files.c index 4eb3c5f3..166734d5 100644 --- a/src/irc/dcc/dcc-files.c +++ b/src/irc/dcc/dcc-files.c @@ -198,7 +198,8 @@ static void dcc_get_connect(DCC_REC *dcc) dcc->handle = net_connect_ip(&dcc->addr, dcc->port, source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagconn = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ, + dcc->tagconn = g_input_add(dcc->handle, + (GInputCondition) (G_INPUT_WRITE|G_INPUT_READ), (GInputFunction) sig_dccget_connected, dcc); } else { /* error connecting */ |