projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c9212
)
fixed warnings
author
Matthias Braun
<matze@braunis.de>
Sun, 17 Jun 2007 14:15:21 +0000
(14:15 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 17 Jun 2007 14:15:21 +0000
(14:15 +0000)
[r14563]
include/libfirm/adt/bitset.h
patch
|
blob
|
history
diff --git
a/include/libfirm/adt/bitset.h
b/include/libfirm/adt/bitset.h
index
c70edcb
..
02859bf
100644
(file)
--- a/
include/libfirm/adt/bitset.h
+++ b/
include/libfirm/adt/bitset.h
@@
-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.