]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfsprogs: push down unsigned char casts xfs-unsigned-char
authorChristoph Hellwig <hch@lst.de>
Wed, 31 Jul 2024 16:31:39 +0000 (09:31 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 31 Jul 2024 17:36:14 +0000 (10:36 -0700)
commit021c85a4d6bc7c9b7dea444906c7f282b1e08b17
tree4a860e6158d3996351ce331e09ade8e4e3a56b33
parent3387b28a34890ed41d919a01cf95a91605c1dc8e
xfsprogs: push down unsigned char casts

To get us of casting hell, push down the casts to the unsigned char
to the low-level hash code and the on-disk format definitions.  The
hash code is the only place that actually cares about the signedness.
The on-disk format would be cleaner by not using it, but using it
is a correct headsup to worry about the signedness.

Signed-off-by: Christoph Hellwig <hch@lst.de>
18 files changed:
db/attrset.c
db/check.c
db/hash.c
db/metadump.c
db/namei.c
db/obfuscate.c
db/obfuscate.h
libfrog/dahashselftest.h
libfrog/fsprops.c
libxfs/listxattr.c
libxfs/listxattr.h
mkfs/proto.c
repair/attr_repair.c
repair/phase6.c
repair/pptr.c
repair/pptr.h
repair/strblobs.c
repair/strblobs.h