aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-menu-memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-menu-memory.c')
-rw-r--r--com32/hdt/hdt-menu-memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-menu-memory.c b/com32/hdt/hdt-menu-memory.c
index 60d741de..ae6fc676 100644
--- a/com32/hdt/hdt-menu-memory.c
+++ b/com32/hdt/hdt-menu-memory.c
@@ -57,10 +57,10 @@ static void compute_e820(struct s_my_menu *menu)
for (int j = 0; j < count; j++) {
get_type(map[j].type, type, 14);
snprintf(buffer, sizeof buffer,
- "%016llx - %016llx (%s)",
+ "%016" PRIx64 "x - %016" PRIx64 "x (%s)",
map[j].addr, map[j].size, remove_spaces(type));
snprintf(statbuffer, sizeof statbuffer,
- "%016llx - %016llx (%s)",
+ "%016" PRIx64 "x - %016" PRIx64 "x (%s)",
map[j].addr, map[j].size, remove_spaces(type));
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;