cc65 has recently become more restrictive...

This commit is contained in:
oliverschmidt 2007-12-06 10:36:33 +00:00
parent 761ad7dd57
commit 1afc872a29

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $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 <string.h>
@ -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. */