Skip to content

Commit 9d63882

Browse files
committed
explicit condition
1 parent 6d63370 commit 9d63882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tommath_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ int func_name (mp_int * a, type b) \
9494
int res = mp_grow(a, new_size); \
9595
if (res == MP_OKAY) { \
9696
mp_zero(a); \
97-
while (b) { \
97+
while (b != 0u) { \
9898
a->dp[x++] = ((mp_digit)b & MP_MASK); \
9999
b >>= DIGIT_BIT; \
100100
} \

0 commit comments

Comments
 (0)