From: Michael Jerris Date: Thu, 17 Aug 2006 14:41:00 +0000 (+0000) Subject: fix for msvc, signed\unsigned and code before decl X-Git-Tag: v1.0-beta1~2374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2f66c43a51ea80b963a95517ba3e36b0cc84518;p=thirdparty%2Ffreeswitch.git fix for msvc, signed\unsigned and code before decl git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2315 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 1d4cbb32aa..5aed39150e 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -1229,9 +1229,9 @@ static uint8_t check_channel_status(switch_channel_t **peer_channels, char *key) { - int32_t i; + uint32_t i; + uint32_t hups = 0; *idx = -1; - int32_t hups = 0; for (i = 0; i < len; i++) { if (!peer_channels[i]) {