diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2014-12-04 10:19:05 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2014-12-04 10:19:05 +0100 |
commit | 7836764be463d8a537e8a2db6003af1356c7ea37 (patch) | |
tree | e9353afdaec29d554a52b2a28fecaa3c76a8fdd5 | |
parent | d127245313531c8a05231f04a8f09e45c0218939 (diff) | |
download | biruda-7836764be463d8a537e8a2db6003af1356c7ea37.tar.gz biruda-7836764be463d8a537e8a2db6003af1356c7ea37.tar.bz2 |
..
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 6dc4501..e915697 100644 --- a/src/worker.c +++ b/src/worker.c @@ -136,7 +136,7 @@ static void *worker_func( void *thread_data ) wed->err_channel = g_io_channel_unix_new( wed->err ); #endif - GIOCondition cond = G_IO_IN | G_IO_HUP; + GIOCondition cond = (GIOCondition)( G_IO_IN | G_IO_HUP ); g_io_add_watch( wed->out_channel, cond, (GIOFunc)watch_output, (gpointer *)wed ); g_io_add_watch( wed->err_channel, cond, (GIOFunc)watch_output, (gpointer *)wed ); |