fixed warnings
authorMatthias Braun <matze@braunis.de>
Sun, 17 Jun 2007 14:15:21 +0000 (14:15 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 17 Jun 2007 14:15:21 +0000 (14:15 +0000)
[r14563]

include/libfirm/adt/bitset.h

index c70edcb..02859bf 100644 (file)
@@ -307,7 +307,7 @@ static INLINE bitset_pos_t _bitset_next(const bitset_t *bs,
 
 
 #define bitset_foreach_clear(bitset,elm) \
-       for(elm = bitset_next_clear(bitset,0); elm != -1; elm = bitset_next_clear(bitset,elm+1))
+       for(elm = bitset_next_clear(bitset,0); elm != (bitset_pos_t) -1; elm = bitset_next_clear(bitset,elm+1))
 
 /**
  * Count the bits set.