diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-10 11:02:39 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-10 11:02:39 +0000 |
| commit | 8d156bcf358e20979f444209e227f2187728a7b2 (patch) | |
| tree | e092b0a011fd6b7b4fdfd8433d930a83692ce31c /util/nvmutil | |
| parent | fa859d80d528cbe5ee6d3825e85fa4e5aec337b0 (diff) | |
util/nvmutil: fix another printf specifier
ditto to last commit
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
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) |
