summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/z80.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/z80.c')
-rw-r--r--apps/plugins/zxbox/z80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/z80.c b/apps/plugins/zxbox/z80.c
index f6f1de7468..683584f471 100644
--- a/apps/plugins/zxbox/z80.c
+++ b/apps/plugins/zxbox/z80.c
@@ -48,7 +48,7 @@ static byte *a64kmalloc(int num64ksegs)
48 /*exit(1);*/ 48 /*exit(1);*/
49 } 49 }
50 50
51 return (byte *) (( (long) bigmem & ~((long) 0xFFFF)) + 0x10000); 51 return (byte *) (( (intptr_t) bigmem & ~((intptr_t) 0xFFFF)) + 0x10000);
52} 52}
53 53
54 54