From: Anthony Minessale Date: Wed, 27 Feb 2008 00:08:06 +0000 (+0000) Subject: finiky compiler contd X-Git-Tag: v1.0-rc1~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb55b310dcbde59d0b1c9ecba3b90cf9bfb07fe7;p=thirdparty%2Ffreeswitch.git finiky compiler contd git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7754 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch.c b/src/switch.c index 77e912e65d..00ee1e5a27 100644 --- a/src/switch.c +++ b/src/switch.c @@ -93,7 +93,7 @@ static int freeswitch_kill_background() } /* pull the pid from the file */ - if (fscanf(f, "%d", (int *)&pid)!=1) { + if (fscanf(f, "%d", (int *)(intptr_t)&pid)!=1) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"Unable to get the pid!\n"); }