提交 3bbcd536 authored 作者: Moises Silva's avatar Moises Silva

fix windows compiler warning-error: unsigned vs signed comparison

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@855 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 1e5fefea
...@@ -705,7 +705,7 @@ OZ_DECLARE(void) zap_channel_rotate_tokens(zap_channel_t *zchan) ...@@ -705,7 +705,7 @@ OZ_DECLARE(void) zap_channel_rotate_tokens(zap_channel_t *zchan)
OZ_DECLARE(void) zap_channel_replace_token(zap_channel_t *zchan, const char *old_token, const char *new_token) OZ_DECLARE(void) zap_channel_replace_token(zap_channel_t *zchan, const char *old_token, const char *new_token)
{ {
int i; unsigned int i;
if (zchan->token_count) { if (zchan->token_count) {
for(i = 0; i < zchan->token_count; i++) { for(i = 0; i < zchan->token_count; i++) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论