finiky compiler contd

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7754 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-02-27 00:08:06 +00:00
parent 712ab5be8f
commit eb55b310dc
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}