search for: show_memory_e820

Displaying 1 result from an estimated 1 matches for "show_memory_e820".

2014 Nov 22
1
Get rid of printf format warning format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’
...ress = (uint64_t *)strtoul(address, NULL, 16); x->entry[x->entry_count] = pointed_address; diff --git a/com32/hdt/hdt-cli-memory.c b/com32/hdt/hdt-cli-memory.c index c05b7cd..7d0342c 100644 --- a/com32/hdt/hdt-cli-memory.c +++ b/com32/hdt/hdt-cli-memory.c @@ -47,7 +47,7 @@ static void show_memory_e820(int argc __unused, char **argv __unused, more_printf("BIOS-provided physical RAM e820 map:\n"); for (int i = 0; i < count; i++) { get_type(map[i].type, type, 14); - more_printf("%016llx - %016llx %016llx (%s)\n", + more_printf("%016" PRIx64 " - %016...