summaryrefslogtreecommitdiff
path: root/src/core/net-nonblock.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 23:29:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 23:29:32 +0000
commitd1d70fd5d78af01040983831cbe9aa79f1d56425 (patch)
treeda9c11fb31eafff80a27b5d8c2e108e271c1538d /src/core/net-nonblock.c
parent8961d23171ff5d8e9eb15c1f935c9447d24ad2dc (diff)
downloadirssi-d1d70fd5d78af01040983831cbe9aa79f1d56425.zip
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
Diffstat (limited to 'src/core/net-nonblock.c')
-rw-r--r--src/core/net-nonblock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/net-nonblock.c b/src/core/net-nonblock.c
index b21dca08..c6342e08 100644
--- a/src/core/net-nonblock.c
+++ b/src/core/net-nonblock.c
@@ -190,8 +190,7 @@ static void simple_readpipe(SIMPLE_THREAD_REC *rec, int pipe)
return;
}
- rec->tag = g_input_add(handle,
- (GInputCondition) (G_INPUT_READ|G_INPUT_WRITE),
+ rec->tag = g_input_add(handle, G_INPUT_READ | G_INPUT_WRITE,
(GInputFunction) simple_init, rec);
}