Browse Source

compiler warning

David Rose 18 years ago
parent
commit
a0d8f98452
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/putil/bitMask.I

+ 1 - 1
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