提交 eb55b310 authored 作者: Anthony Minessale's avatar Anthony Minessale

finiky compiler contd

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7754 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 712ab5be
...@@ -93,7 +93,7 @@ static int freeswitch_kill_background() ...@@ -93,7 +93,7 @@ static int freeswitch_kill_background()
} }
/* pull the pid from the file */ /* 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"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"Unable to get the pid!\n");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论