Browse Source

mcd, fix type for memory setup (fixes LLP64 platforms)

root 2 years ago
parent
commit
63ca399527
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pico/cd/memory.c

+ 1 - 1
pico/cd/memory.c

@@ -1185,7 +1185,7 @@ PICO_INTERNAL void PicoMemSetupCD(void)
 #ifdef __clang__
     volatile // prevent strange relocs from clang
 #endif
-    unsigned long ptr_ram = (uptr)PicoMem.ram;
+    uptr ptr_ram = (uptr)PicoMem.ram;
     int i;
 
     // M68k