rsaenh: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-04 23:32:13 +02:00 committed by Alexandre Julliard
parent da2a97fc06
commit 7af5360c4e
1 changed files with 3 additions and 3 deletions

View File

@ -1745,17 +1745,17 @@ __Q:mp_clear (&q);
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;
for (x = 1; x < DIGIT_BIT; x++) {
if (b == (((mp_digit)1)<<x)) {
*p = x;
return 1;
return TRUE;
}
}
return 0;
return FALSE;
}
/* single digit division (based on routine from MPI) */