From: ol.sc Date: Sat, 21 Jan 2012 22:34:48 +0000 (+0000) Subject: Fixed irq handler return value. X-Git-Tag: V2.13.3~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1894b1272b8548754d9a0b923258e57af4e8e47;p=cc65 Fixed irq handler return value. git-svn-id: svn://svn.cc65.org/cc65/trunk@5421 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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);