Marius Strobl a1610d83b8 In the replacement text of the __bswapN_const() macros encapsulate the
argument in parentheses so these macros are safe to use and invocations
with an expression as the argument like __bswap32_const(42 << 23 | 13)
work as expected. Additionally, mask all the individually shifted bytes
as appropriate so the bytes which exceed the width of the respective
__bswapN_const() macro in invocations like __bswap16_const(0xdead600d)
are ignored like it's the case with the corresponding __bswapN_var()
function.

MFC after:	3 days
2006-10-30 21:50:11 +00:00
..
2006-10-09 05:59:04 +00:00
PR:
2006-10-04 21:37:10 +00:00
2005-06-09 19:45:09 +00:00
2006-01-16 01:35:25 +00:00
2006-01-16 01:35:25 +00:00