From 2c90b6505e0213d22aebe9762101f46066eeccd7 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sun, 1 Oct 2023 13:32:47 +0300 Subject: [PATCH] [Core] Coverity: 1500235 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 f5520d4efb..c0011ee683 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -10526,7 +10526,7 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess } 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) {