mcd, fix type for memory setup (fixes LLP64 platforms)
authorkub <derkub@gmail.com>
Mon, 8 Nov 2021 17:19:49 +0000 (18:19 +0100)
committerkub <derkub@gmail.com>
Mon, 8 Nov 2021 17:19:49 +0000 (18:19 +0100)
pico/cd/memory.c

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