From 609ae3aca169c91aa340fb92dd1e031c684d6193 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 9 Sep 2005 17:30:28 +0000 Subject: [PATCH] Small optimization git-svn-id: svn://svn.cc65.org/cc65/trunk@3632 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/dbg/dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/dbg/dbg.c b/libsrc/dbg/dbg.c index 81f6b696f..c2ddb194b 100644 --- a/libsrc/dbg/dbg.c +++ b/libsrc/dbg/dbg.c @@ -1310,7 +1310,7 @@ static void SingleStep (char StepInto) /* Be sure not to set the breakpoint twice if this is a jump to * the following instruction. */ - Offs = *(signed char*)(brk_pc+1); + Offs = ((signed char*)brk_pc)[1]; if (Offs) { DbgSetTmpBreak (brk_pc + Offs + 2); } -- 2.39.5