diff options
-rw-r--r-- | shared/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/util.h b/shared/util.h index 6f602d3..c6a31df 100644 --- a/shared/util.h +++ b/shared/util.h @@ -86,5 +86,5 @@ static inline bool addu64_overflow(uint64_t a, uint64_t b, uint64_t *res) #endif #endif *res = a + b; - return ULLONG_MAX - a < b; + return UINT64_MAX - a < b; } |