mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
(nbits): Add some casts.
This commit is contained in:
@@ -93,7 +93,7 @@ unsigned i;
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
while (i != 0) {
|
while (i != 0) {
|
||||||
i ^= (i & -i);
|
i ^= (i & ((unsigned) (- (int) i)));
|
||||||
++count;
|
++count;
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
|
|||||||
Reference in New Issue
Block a user