diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-23 21:40:07 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-23 21:40:07 +0000 |
commit | 8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8 (patch) | |
tree | 52324a388e270f22cef46fb5a5fcdcc1c3d71ac8 /src/core/net-nonblock.c | |
parent | 8fb2249f0742cd391796b2a07c6611a696f7681a (diff) | |
download | irssi-8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8.zip |
several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/net-nonblock.c')
-rw-r--r-- | src/core/net-nonblock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/net-nonblock.c b/src/core/net-nonblock.c index c6342e08..b21dca08 100644 --- a/src/core/net-nonblock.c +++ b/src/core/net-nonblock.c @@ -190,7 +190,8 @@ static void simple_readpipe(SIMPLE_THREAD_REC *rec, int pipe) return; } - rec->tag = g_input_add(handle, G_INPUT_READ | G_INPUT_WRITE, + rec->tag = g_input_add(handle, + (GInputCondition) (G_INPUT_READ|G_INPUT_WRITE), (GInputFunction) simple_init, rec); } |