2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Fix CodeQL "Multiplication result converted to larger type" warnings.

This commit is contained in:
Todd C. Miller
2021-12-10 13:33:07 -07:00
parent 014339948c
commit 83defd3a6f
2 changed files with 4 additions and 4 deletions

View File

@@ -930,7 +930,7 @@ store_timespec(const char *str, union sudo_defs_val *sd_un)
{
struct timespec ts;
char sign = '+';
int i;
long i;
debug_decl(store_timespec, SUDOERS_DEBUG_DEFAULTS);
sudo_timespecclear(&ts);