Bug#960833: ghex: hexadecimal display should show top 32bits of 64bit numbers
Andrew C Aitchison
andrew at aitchison.me.uk
Sun May 17 11:53:03 BST 2020
Package: ghex
Version: 3.18.4-1
When "Show unsigned and float as hexadecimal" ghex displays only the
bottom 32 bits of the 64bit number.
Upstream commit fixes this issue
https://gitlab.gnome.org/GNOME/ghex/-/commit/1a7ecf8e9e162f54b26ee598e63ff89265935c30
Alternatively a better fix might be to sprintf the values of the
individual bytes with:
snprintf(convbuffer, sizeof(convbuffer),
"0x%02X%02X%02X%02X%02X%02X%02X%02X",
in[7],in[6],in[5],in[4],in[3],in[2],in[1],in[0]
);
Equivalent bug in Ubuntu is
https://bugs.launchpad.net/ubuntu/+source/ghex/+bug/1851033
--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk
More information about the pkg-gnome-maintainers
mailing list