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;