From a4f362977390cde8555fb61f0743ae37b8513c25 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Wed, 15 May 2013 11:51:55 -0500 Subject: [PATCH] trivial fix compiler warning --- src/switch_ivr_async.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 2d43863826..87ad6f592b 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1128,7 +1128,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s if (rh->rready && rh->wready) { switch_time_t now = switch_micro_time_now(); - long diff; + switch_time_t diff; nframe = switch_core_media_bug_get_native_read_frame(bug); len = nframe->datalen; @@ -1158,7 +1158,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s if (rh->rready && rh->wready) { switch_time_t now = switch_micro_time_now(); - long diff; + switch_time_t diff; nframe = switch_core_media_bug_get_native_write_frame(bug); len = nframe->datalen;