Module Name: src Committed By: christos Date: Thu Mar 17 00:15:28 UTC 2016
Modified Files: src/include: bitstring.h Log Message: appease gcc-5 |= #$@#% To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/include/bitstring.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/bitstring.h diff -u src/include/bitstring.h:1.12 src/include/bitstring.h:1.13 --- src/include/bitstring.h:1.12 Fri Nov 20 15:37:08 2015 +++ src/include/bitstring.h Wed Mar 16 20:15:27 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: bitstring.h,v 1.12 2015/11/20 20:37:08 christos Exp $ */ +/* $NetBSD: bitstring.h,v 1.13 2016/03/17 00:15:27 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -81,7 +81,8 @@ typedef unsigned char bitstr_t; /* set bit N of bitstring name */ #define bit_set(name, bit) \ - /*LINTED bitwise on signed*/((name)[_bit_byte(bit)] |= _bit_mask(bit)) + /*LINTED bitwise on signed*/ \ + ((name)[_bit_byte(bit)] = _bit_mask(bit) | (name)[bit_byte(bit)) /* clear bit N of bitstring name */ #define bit_clear(name, bit) \