提交 85f83e2a authored 作者: Michael Jerris's avatar Michael Jerris

signed/unsigned compare

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8793 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 4795ffc6
......@@ -1751,7 +1751,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
}
if (offset >= 0) {
if (offset > strlen(sub_val)) {
if ((size_t)offset > strlen(sub_val)) {
*sub_val = '\0';
} else {
sub_val += offset;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论