Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7-0] src/sys/sys



Module Name:    src
Committed By:   martin
Date:           Wed Mar 21 11:10:57 UTC 2018

Modified Files:
        src/sys/sys [netbsd-7-0]: bitops.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1582):
        sys/sys/bitops.h: revision 1.12
        sys/sys/bitops.h: revision 1.13
        sys/sys/bitops.h: revision 1.14
fix sign issues

use 1ul for a left shift that may be greater than int sized.
noticed by martin.
fixes PR#53081.

PR/53081: Fix size of the shift to depend on the type of the bitmap so that
we get the correct width.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.11.16.1 src/sys/sys/bitops.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index