mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(nbits): Add some casts.
This commit is contained in:
@@ -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