]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
resolve trivial compiler warning
authorJeff Lenk <jeff@jefflenk.com>
Tue, 28 Jun 2011 01:23:00 +0000 (20:23 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 28 Jun 2011 01:23:00 +0000 (20:23 -0500)
src/switch_ivr.c

index 2929a547dc94f2cac716bc19b8be9ec42f28af7f..6193145f12e2651ce0702af2a1fd6e860265763e 100644 (file)
@@ -130,7 +130,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
        switch_status_t status = SWITCH_STATUS_SUCCESS;
        switch_time_t start = switch_micro_time_now(), now, done = switch_micro_time_now() + (ms * 1000);
        switch_frame_t *read_frame, cng_frame = { 0 };
-       int32_t left, elapsed;
+       int32_t left;
+       uint32_t elapsed;
        char data[2] = "";
 
        switch_frame_t write_frame = { 0 };