explicit condition
diff --git a/bn_mp_ilogb.c b/bn_mp_ilogb.c
index b47cde3..32163d7 100644
--- a/bn_mp_ilogb.c
+++ b/bn_mp_ilogb.c
@@ -7,7 +7,7 @@
static mp_word s_pow(mp_word base, mp_word exponent)
{
mp_word result = 1uLL;
- while (exponent) {
+ while (exponent != 0u) {
if ((exponent & 0x1) == 1) {
result *= base;
}