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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user