From 7d6082c3499b44a9c774e48045b9c7f267a93e76 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Tue, 19 Sep 2023 00:16:58 +0300 Subject: [PATCH] [Core] Coverity: 1500270 Use of 32-bit time_t --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {