mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-11-02 21:01:58 +00:00
(nbits): Add some casts.
This commit is contained in:
1 parent
32d5c018d8
commit
2f9040d9ba
1 file changed
+1
-1
+1
-1
@@ -93,7 +93,7 @@ unsigned i;
|
||||
int count = 0;
|
||||
|
||||
while (i != 0) {
|
||||
i ^= (i & -i);
|
||||
i ^= (i & ((unsigned) (- (int) i)));
|
||||
++count;
|
||||
}
|
||||
return count;
|
||||
|
||||
Reference in new issue
Block a user