mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 20:39:17 +00:00
Use type independant __builtin_mul_overflow()
This commit is contained in:
parent
62bc8689b7
commit
080131c86e
@ -817,7 +817,7 @@ static int sp_get_sum (u32 start, u32 stop, cs_t *root_css_buf, u64 *result)
|
||||
{
|
||||
u64 t;
|
||||
|
||||
if (__builtin_umull_overflow (sum, root_css_buf[i].cs_len, &t) == true) return -1;
|
||||
if (__builtin_mul_overflow (sum, root_css_buf[i].cs_len, &t) == true) return -1;
|
||||
|
||||
sum *= root_css_buf[i].cs_len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user