lib: 32/64-bit cleanups
[dpdk.git] / lib / librte_eal / common / eal_common_memory.c
index e8371d7..f85e372 100644 (file)
@@ -95,9 +95,9 @@ rte_dump_physmem_layout(void)
                if (mcfg->memseg[i].addr == NULL)
                        break;
 
-               printf("Segment %u: phys:0x%"PRIx64", len:0x%"PRIx64", "
+               printf("Segment %u: phys:0x%"PRIx64", len:%zu, "
                       "virt:%p, socket_id:%"PRId32", "
-                      "hugepage_sz:0x%"PRIx64", nchannel:%"PRIx32", "
+                      "hugepage_sz:0x%zu, nchannel:%"PRIx32", "
                       "nrank:%"PRIx32"\n", i,
                       mcfg->memseg[i].phys_addr,
                       mcfg->memseg[i].len,