Fix stivale2 printing on i386

This commit is contained in:
Quinten Kock 2020-12-04 21:33:56 +01:00
parent fb981bf994
commit cb463cf949
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ void print_stivale2(struct stivale2_struct *info) {
printf("Memmap (%d entries):\n", m->entries);
for (size_t i = 0; i < m->entries; i++) {
struct stivale2_mmap_entry me = m->memmap[i];
printf("\t[%x+%h] %x\n", me.base, me.length, me.type);
printf("\t[%x+%h] %x\n", (size_t)me.base, (size_t)me.length, me.type);
}
break;
}