提交 19f7c84d authored 作者: Anthony Minessale's avatar Anthony Minessale

picky compilers

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13651 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 77ab8665
......@@ -107,7 +107,7 @@ static void check_ip(void) {
switch_set_string(old_ip4, main_ip4);
switch_set_string(main_ip4, guess_ip4);
switch_core_set_variable("local_ip_v4", guess_ip4);
switch_core_set_variable("local_mask_v4", inet_ntoa(*(struct in_addr *)&mask));
switch_core_set_variable("local_mask_v4", inet_ntoa(*(struct in_addr *)(intptr_t)&mask));
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论