summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-03-09 20:34:31 +0000
committerdim <dim@FreeBSD.org>2012-03-09 20:34:31 +0000
commitcf2c2fde9c2e8aee31d99fbd468a7eeaf987cb1a (patch)
tree3cce8341db1182b40e9d74239f83152f65e58007 /sbin/fsdb
parentd6f48ea8cc824233cf311f52698aa98f62065584 (diff)
downloadFreeBSD-src-cf2c2fde9c2e8aee31d99fbd468a7eeaf987cb1a.zip
FreeBSD-src-cf2c2fde9c2e8aee31d99fbd468a7eeaf987cb1a.tar.gz
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
Diffstat (limited to 'sbin/fsdb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud