]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Be consistent in return types from byteswap macros
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 10 Oct 2013 07:42:05 +0000 (09:42 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 16 Oct 2013 01:42:29 +0000 (12:42 +1100)
commit8a5f247d0a4a2afab630415fd4e73e222ed089a9
tree62e56e7aaa4c827dbcb58d6f5de4855fd7d4818d
parentfe8ea9407f0fbc5ffb8d2a37ba4618a2112b9a65
Be consistent in return types from byteswap macros

The bswap_*() macros return int values. Make sure we return the
equivalent types in same byteorder pass-through functions to avoid
problems with the original type leaking through to printf() etc.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.h