Fix 64-bit builds in REAL_ADDRESSING mode with gcc4.1.

This commit is contained in:
gbeauche 2007-01-13 17:21:08 +00:00
parent 9dfecc4279
commit 9e252b413e

View File

@ -68,8 +68,8 @@ bool Init680x0(void)
{
#if REAL_ADDRESSING
// Mac address space = host address space
RAMBaseMac = (uint32)RAMBaseHost;
ROMBaseMac = (uint32)ROMBaseHost;
RAMBaseMac = (uintptr)RAMBaseHost;
ROMBaseMac = (uintptr)ROMBaseHost;
#elif DIRECT_ADDRESSING
// Mac address space = host address space minus constant offset (MEMBaseDiff)
// NOTE: MEMBaseDiff is set up in main_unix.cpp/main()