Michael McConville wrote: > Michael McConville wrote: > > CVSROOT: /cvs > > Module name: src > > Changes by: m...@cvs.openbsd.org 2016/01/26 11:26:19 > > > > Modified files: > > usr.sbin/rarpd : arptab.c > > usr.sbin/arp : arp.c > > usr.sbin/ndp : ndp.c > > sbin/dhclient : dhclient.c > > > > Log message: > > 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@ > > Also with an additional instance spotted by millert@.
and ok otto@