From df141a13b393c4b9355e865a22247a4763999d4e 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 054a68e59b..462aff32c7 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;