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