explicit condition

This commit is contained in:
Francois Perrad 2019-03-26 18:42:18 +01:00
parent 6d63370370
commit 9d63882d50

View File

@ -94,7 +94,7 @@ int func_name (mp_int * a, type b) \
int res = mp_grow(a, new_size); \
if (res == MP_OKAY) { \
mp_zero(a); \
while (b) { \
while (b != 0u) { \
a->dp[x++] = ((mp_digit)b & MP_MASK); \
b >>= DIGIT_BIT; \
} \