diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cbfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index 20c9d4957a..33fa7999b6 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -116,7 +116,7 @@ void * cbfs_load_stage(const char *name) printk(BIOS_DEBUG, "Stage: done loading.\n"); entry = stage->entry; - // entry = ntohl((u32) stage->entry); + // entry = ntohll(stage->entry); return (void *) entry; } @@ -137,7 +137,7 @@ int cbfs_execute_stage(const char *name) /* FIXME: This isn't right */ printk(BIOS_INFO, "CBFS: run @ %p\n", (void *) ntohl((u32) stage->entry)); - return run_address((void *) ntohl((u32) stage->entry)); + return run_address((void *) (intptr_t)ntohll(stage->entry)); } /** |