diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/selfboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c index 56124da317..d64ba4cb92 100644 --- a/src/lib/selfboot.c +++ b/src/lib/selfboot.c @@ -346,7 +346,8 @@ static int build_self_segment_list( break; case PAYLOAD_SEGMENT_ENTRY: - printk(BIOS_DEBUG, " Entry Point 0x%p\n", (void *) ntohl((u32) segment->load_addr)); + printk(BIOS_DEBUG, " Entry Point 0x%p\n", + (void *)(intptr_t)ntohll(segment->load_addr)); *entry = ntohll(segment->load_addr); /* Per definition, a payload always has the entry point * as last segment. Thus, we use the occurence of the |