chore: stage bunch of size_t to uint32_t

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-06-11 22:52:07 +05:30
parent 028c80f6cb
commit 0062ad424b
5 changed files with 23 additions and 24 deletions

View File

@@ -57,7 +57,7 @@ sub(uint32_t a, uint32_t b, bool& carry, bool& overflow) {
uint32_t result = a - b;
carry = b <= a;
carry = a >= b;
overflow = s1 != s2 && s2 == get_bit(result, 31);
return result;