rsaenh: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Fri Oct 4 16:32:13 CDT 2013
---
dlls/rsaenh/mpi.c | 6 +++---
1 file 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) */
--
1.8.4
More information about the wine-patches
mailing list