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

This commit is contained in:
Andrey Volk 2023-10-01 13:48:26 +03:00
parent 87b00566ef
commit 13fe1da46a
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ static int check_per_channel_timeouts(originate_global_t *oglobals,
delayed_min = oglobals->originate_status[i].per_channel_delay_start;
}
}
early_exit_time = delayed_min - (uint32_t) elapsed;
early_exit_time = delayed_min - (uint32_t)(intptr_t) elapsed;
}
for (i = 0; i < max; i++) {
if (oglobals->originate_status[i].peer_channel && oglobals->originate_status[i].per_channel_delay_start &&