From 58054839127aaa43fb4bddf463e1e85010d1fc79 Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Wed, 5 Aug 2009 04:22:13 +0000 Subject: [PATCH] Fix an issue when calculating the line and address diff git-svn-id: https://smali.googlecode.com/svn/trunk@361 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- .../main/java/org/jf/dexlib/Debug/DebugInstructionIterator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dexlib/src/main/java/org/jf/dexlib/Debug/DebugInstructionIterator.java b/dexlib/src/main/java/org/jf/dexlib/Debug/DebugInstructionIterator.java index 36116d80..1f910c78 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Debug/DebugInstructionIterator.java +++ b/dexlib/src/main/java/org/jf/dexlib/Debug/DebugInstructionIterator.java @@ -231,7 +231,7 @@ public class DebugInstructionIterator { } default: { - byte base = (byte)((debugOpcode & 0xFF) - 0x0A); + int base = ((debugOpcode & 0xFF) - 0x0A); address += base / 15; line += (base % 15) - 4; processDecodedDebugInstruction.ProcessLineEmit(address, line);