From 712ab5be8f15f260899563d552ca85db87ac804a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 27 Feb 2008 00:03:25 +0000 Subject: [PATCH] finiky compiler git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7753 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 295aade87a..77e912e65d 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", &pid)!=1) { + if (fscanf(f, "%d", (int *)&pid)!=1) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"Unable to get the pid!\n"); }