]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hexdump: correctly display signed single byte integers
authorSamir Benmendil <me@rmz.io>
Wed, 9 Jun 2021 00:21:46 +0000 (01:21 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 9 Jun 2021 00:21:46 +0000 (01:21 +0100)
commitaa6d42f16f22fbe015485a60fa74222b28e3147e
tree4dacd8c5e05a23fa8e8ae5a13c212ba1c5fef6c2
parent6da826a521e2bfec5f239ea9229a0e707583271c
hexdump: correctly display signed single byte integers

When using the format string '/1 "%d"', the byte did not display as a
signed integer as expected, it was interpreted as unsigned.
text-utils/hexdump-display.c