diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2016-01-26 18:26:20 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2016-01-26 18:26:20 +0000 |
commit | 5abd416f560ecb947d32794f07d53e1d1408d3d0 (patch) | |
tree | 1974d9d201e77c570d3e577047dced7fa61ce481 /usr.bin/m4/stdd.h | |
parent | d11e25ef62dfb6b4f7c303711ec62676b5d0a75b (diff) |
Use an unsigned int rather than an int when iterating through all 32
bits in the form:
for (i = 1; i; i <<= 1)
This avoids undefined operations when shifting into and out of the
highest-order bit.
ok millert@
Diffstat (limited to 'usr.bin/m4/stdd.h')
0 files changed, 0 insertions, 0 deletions