aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc.c b/ipc.c
index 778f74c8..60caba3e 100644
--- a/ipc.c
+++ b/ipc.c
@@ -33,6 +33,10 @@ static char *statefile = NULL;
static void ipc_master_cmd_client( irc_t *data, char **cmd )
{
+ /* Normally data points at an irc_t block, but for the IPC master
+ this is different. We think this scary cast is better than
+ creating a new command_t structure, just to make the compiler
+ happy. */
struct bitlbee_child *child = (void*) data;
if( child && cmd[1] )