From a0d8f984522884d034de5ffc2cce7258deed61fc Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 27 Jun 2007 01:12:45 +0000 Subject: [PATCH] compiler warning --- panda/src/putil/bitMask.I | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/putil/bitMask.I b/panda/src/putil/bitMask.I index e684b4c320..74198d3f38 100644 --- a/panda/src/putil/bitMask.I +++ b/panda/src/putil/bitMask.I @@ -503,7 +503,7 @@ get_next_higher_different_bit(int low_bit) const { return low_bit; } - bool is_on = (_word & ((WordType)1 << low_bit)); + WordType is_on = (_word & ((WordType)1 << low_bit)); WordType w; if (is_on) { // low_bit is 1. Get the next higher 0 bit. To do this, invert