diff --git a/src/switch_core_media.c b/src/switch_core_media.c index cd0774eb83..003b123cf5 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -7654,7 +7654,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_se maxlen = atol(p); if ((q = strchr(p, ':'))) { q++; - max_drift = abs(atol(q)); + max_drift = abs(atoi(q)); } } }