From 1afc872a2996b66913c984d33e4f9988cd62e2a4 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 6 Dec 2007 10:36:33 +0000 Subject: [PATCH] cc65 has recently become more restrictive... --- cpu/6502/mtarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/6502/mtarch.c b/cpu/6502/mtarch.c index a1deb3b95..b7bf370c1 100644 --- a/cpu/6502/mtarch.c +++ b/cpu/6502/mtarch.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: mtarch.c,v 1.2 2007/08/10 10:45:35 oliverschmidt Exp $ + * $Id: mtarch.c,v 1.3 2007/12/06 10:36:33 oliverschmidt Exp $ */ #include @@ -65,7 +65,7 @@ mtarch_start(struct mtarch_thread *thread, memset(thread->cstack, 0, sizeof(thread->cstack)); /* Copy current zero page content as template. */ - mtarch_asm_threadzp = &(thread->zp); + mtarch_asm_threadzp = thread->zp; mtarch_asm_start(); /* Create a CPU stack frame with the appropriate values. */