Commit 7af5360c authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

rsaenh: Use BOOL type where appropriate.

parent da2a97fc
...@@ -1745,17 +1745,17 @@ __Q:mp_clear (&q); ...@@ -1745,17 +1745,17 @@ __Q:mp_clear (&q);
return res; return res;
} }
static int s_is_power_of_two(mp_digit b, int *p) static BOOL s_is_power_of_two(mp_digit b, int *p)
{ {
int x; int x;
for (x = 1; x < DIGIT_BIT; x++) { for (x = 1; x < DIGIT_BIT; x++) {
if (b == (((mp_digit)1)<<x)) { if (b == (((mp_digit)1)<<x)) {
*p = x; *p = x;
return 1; return TRUE;
} }
} }
return 0; return FALSE;
} }
/* single digit division (based on routine from MPI) */ /* single digit division (based on routine from MPI) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment