summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-09 16:54:42 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-09 16:54:42 +0000
commitf34d020a2015ee7895ca8e044c605a528674bac6 (patch)
treecbee65f8417d3bc67f8cc63d9c0a38142a0a31f4 /util
parentd3b567edcfc7c5c323609b19bd72eb38ea40c756 (diff)
util/nvmutil: tidy up hexdump()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 0553b196..e16b227c 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1052,7 +1052,7 @@ hexdump(size_t partnum)
uint16_t val16;
for (row = 0; row < 8; row++) {
- printf("%08zx ", row << 4);
+ printf("%08zx ", (size_t)row << 4);
for (c = 0; c < 8; c++) {
val16 = nvm_word((row << 3) + c, partnum);
if (c == 4)