NetBSD-Bugs archive

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

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



The following reply was made to PR toolchain/53081; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/53081 CVS commit: [netbsd-7-0] src/sys/sys
Date: Wed, 21 Mar 2018 11:10:57 +0000

 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