Module: wine Branch: master Commit: 7af5360c4e07b4f7820cc01740e45eb98c169839 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7af5360c4e07b4f7820cc01740...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Fri Oct 4 23:32:13 2013 +0200
rsaenh: Use BOOL type where appropriate.
---
dlls/rsaenh/mpi.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/rsaenh/mpi.c b/dlls/rsaenh/mpi.c index 6662527..ff00d58 100644 --- a/dlls/rsaenh/mpi.c +++ b/dlls/rsaenh/mpi.c @@ -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) */