From e1894b1272b8548754d9a0b923258e57af4e8e47 Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Sat, 21 Jan 2012 22:34:48 +0000 Subject: [PATCH] Fixed irq handler return value. git-svn-id: svn://svn.cc65.org/cc65/trunk@5421 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/6502.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/6502.h b/include/6502.h index e0f161f92..8aa124ce5 100644 --- a/include/6502.h +++ b/include/6502.h @@ -111,7 +111,7 @@ void reset_brk (void); #define IRQ_NOT_HANDLED 0 #define IRQ_HANDLED 1 -typedef unsigned (*irq_handler) (void); +typedef unsigned char (*irq_handler) (void); /* Type of the C level interrupt request handler */ void __fastcall__ set_irq (irq_handler f, void *stack_addr, size_t stack_size); -- 2.39.5