]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Coverity: 1500270 Use of 32-bit time_t
authorAndrey Volk <andywolk@gmail.com>
Mon, 18 Sep 2023 21:16:58 +0000 (00:16 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 18 Sep 2023 21:16:58 +0000 (00:16 +0300)
src/switch_core_media.c

index ca6c05e0a9aae36f43ec4d9d7c17e32116ee04fe..f5520d4efbac796e39cf74c3803633156a83b330 100644 (file)
@@ -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) {