diff options
Diffstat (limited to 'src/worker.c')
-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 ); |