]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for msvc, signed\unsigned and code before decl
authorMichael Jerris <mike@jerris.com>
Thu, 17 Aug 2006 14:41:00 +0000 (14:41 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 17 Aug 2006 14:41:00 +0000 (14:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2315 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index 1d4cbb32aa9d71ec8ac9bfe836e9676fd012bb14..5aed39150ec0f2eef5e689a4298b67c570e13e1a 100644 (file)
@@ -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]) {