From eb55b310dcbde59d0b1c9ecba3b90cf9bfb07fe7 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 27 Feb 2008 00:08:06 +0000 Subject: [PATCH] finiky compiler contd git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7754 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }