On Sun, 2016-04-24 at 10:56 -0700, Adam Williamson wrote: > On Sat, 2016-04-23 at 06:42 -0700, John Reiser wrote: > > GCC 6 does not like this: > > > > > > #define VMW_BIT_MASK(shift) (((1 << (shift - 1)) << 1) - 1) > > > How about handling 32 as a special case: #define VMW_BIT_MASK(shift) ((shift==32)?0xffffffff:((1U << shift) - 1)) Jon -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx