Searched hist:"63 d094a7e2f19c1e048de624ef028d2a3851b124" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/x86/include/ |
H A D | endian.h | diff 63d094a7e2f19c1e048de624ef028d2a3851b124 Fri Mar 09 21:34:31 CET 2012 Dimitry Andric <dim@FreeBSD.org> Add casts to __uint16_t to the __bswap16() macros on all arches which didn't already have them. This is because the ternary expression will return int, due to the Usual Arithmetic Conversions. Such casts are not needed for the 32 and 64 bit variants.
While here, add additional parentheses around the x86 variant, to protect against unintended consequences.
MFC after: 2 weeks
|
/freebsd/sys/powerpc/include/ |
H A D | endian.h | diff 63d094a7e2f19c1e048de624ef028d2a3851b124 Fri Mar 09 21:34:31 CET 2012 Dimitry Andric <dim@FreeBSD.org> Add casts to __uint16_t to the __bswap16() macros on all arches which didn't already have them. This is because the ternary expression will return int, due to the Usual Arithmetic Conversions. Such casts are not needed for the 32 and 64 bit variants.
While here, add additional parentheses around the x86 variant, to protect against unintended consequences.
MFC after: 2 weeks
|