s/enum GInputCondition/int/ - enums aren't supposed to orred together i

think.. at least MIPSpro gave warnings about it and it also feels wrong :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-23 23:29:32 +00:00 committed by cras
commit d1d70fd5d7
7 changed files with 14 additions and 19 deletions

View file

@ -252,7 +252,7 @@ static void dcc_chat_connect(DCC_REC *dcc)
source_host_ok ? source_host_ip : NULL);
if (dcc->handle != -1) {
dcc->tagconn = g_input_add(dcc->handle,
(GInputCondition) (G_INPUT_WRITE|G_INPUT_READ),
G_INPUT_WRITE | G_INPUT_READ,
(GInputFunction) sig_chat_connected, dcc);
} else {
/* error connecting */

View file

@ -199,7 +199,7 @@ static void dcc_get_connect(DCC_REC *dcc)
source_host_ok ? source_host_ip : NULL);
if (dcc->handle != -1) {
dcc->tagconn = g_input_add(dcc->handle,
(GInputCondition) (G_INPUT_WRITE|G_INPUT_READ),
G_INPUT_WRITE | G_INPUT_READ,
(GInputFunction) sig_dccget_connected, dcc);
} else {
/* error connecting */