summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-10 11:02:39 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-10 11:02:39 +0000
commit8d156bcf358e20979f444209e227f2187728a7b2 (patch)
treee092b0a011fd6b7b4fdfd8433d930a83692ce31c
parentfa859d80d528cbe5ee6d3825e85fa4e5aec337b0 (diff)
util/nvmutil: fix another printf specifier
ditto to last commit Signed-off-by: Leah Rowe <leah@libreboot.org>
-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 a770467c..64ef5bec 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1060,7 +1060,7 @@ hexdump(size_t partnum)
uint16_t val16;
for (row = 0; row < 8; row++) {
- printf("%08lx ", (size_t)row << 4);
+ printf("%08lx ", (unsigned long)((size_t)row << 4));
for (c = 0; c < 8; c++) {
val16 = nvm_word((row << 3) + c, partnum);
if (c == 4)