[Core] Coverity: 1500235 Use of 32-bit time_t

This commit is contained in:
Andrey Volk 2023-10-01 13:32:47 +03:00
parent ac4b1ecb66
commit 2c90b6505e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {