]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ppc/ppc_init.c
xnu-1228.5.18.tar.gz
[apple/xnu.git] / osfmk / ppc / ppc_init.c
index 781eb38a19d0ba8b0c8092b8fc5bb733cf54f618..c5629bf1b7ad135a4eb3ed489511b60ba013580c 100644 (file)
@@ -165,7 +165,7 @@ ppc_init(
        BootProcInfo.VMX_owner = NULL;
        BootProcInfo.pp_cbfr = console_per_proc_alloc(TRUE);
        BootProcInfo.rtcPop = EndOfAllTime;
-       BootProcInfo.pp2ndPage = (addr64_t)&BootProcInfo;       /* Initial physical address of the second page */
+       BootProcInfo.pp2ndPage = (addr64_t)(uintptr_t)&BootProcInfo;    /* Initial physical address of the second page */
 
        BootProcInfo.pms.pmsStamp = 0;                                          /* Dummy transition time */
        BootProcInfo.pms.pmsPop = EndOfAllTime;                         /* Set the pop way into the future */