From: Andrey Volk Date: Mon, 18 Sep 2023 21:16:58 +0000 (+0300) Subject: [Core] Coverity: 1500270 Use of 32-bit time_t X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6082c3499b44a9c774e48045b9c7f267a93e76;p=thirdparty%2Ffreeswitch.git [Core] Coverity: 1500270 Use of 32-bit time_t --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index ca6c05e0a9..f5520d4efb 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -11836,7 +11836,7 @@ SWITCH_DECLARE(void) switch_core_media_set_udptl_image_sdp(switch_core_session_t } if (!smh->owner_id) { - smh->owner_id = (uint32_t) switch_epoch_time_now(NULL) - port; + smh->owner_id = (uint32_t)(intptr_t)switch_epoch_time_now(NULL) - port; } if (!smh->session_id) {