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

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

View File

@ -12050,7 +12050,7 @@ SWITCH_DECLARE(void) switch_core_media_patch_sdp(switch_core_session_t *session)
family = strchr(smh->mparams->sipip, ':') ? "IP6" : "IP4";
if (!smh->owner_id) {
smh->owner_id = (uint32_t) switch_epoch_time_now(NULL) * 31821U + 13849U;
smh->owner_id = (uint32_t)(intptr_t)switch_epoch_time_now(NULL) * 31821U + 13849U;
}
if (!smh->session_id) {