Quieten MSVC6.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Jul 2003 11:55:11 +0000 (11:55 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Jul 2003 11:55:11 +0000 (11:55 +0000)
p4raw-id: //depot/perl@20305

pp.c

diff --git a/pp.c b/pp.c
index 537606e..8a7632a 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -972,7 +972,7 @@ PP(pp_pow)
                    register unsigned int highbit = 8 * sizeof(UV);
                    register unsigned int lowbit = 0;
                    register unsigned int diff;
-                   bool odd_power = (power & 1);
+                   bool odd_power = (bool)(power & 1);
                    while ((diff = (highbit - lowbit) >> 1)) {
                        if (baseuv & ~((1 << (lowbit + diff)) - 1))
                            lowbit += diff;