Fix a bug of Windows binary

This commit is contained in:
WO
2018-08-31 12:36:36 +09:00
parent 12c1156f31
commit ccb58e2cab

View File

@@ -124,7 +124,7 @@ size_t bigint<n>::num_bits() const
} }
else else
{ {
return ((i+1) * GMP_NUMB_BITS) - __builtin_clzl(x); return ((i+1) * GMP_NUMB_BITS) - __builtin_clzll(x);
} }
} }
return 0; return 0;