summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-26 18:26:20 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-26 18:26:20 +0000
commit5abd416f560ecb947d32794f07d53e1d1408d3d0 (patch)
tree1974d9d201e77c570d3e577047dced7fa61ce481 /usr.bin
parentd11e25ef62dfb6b4f7c303711ec62676b5d0a75b (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')
0 files changed, 0 insertions, 0 deletions