aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/java-interp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h
index 52a04e7..204a49f 100644
--- a/libjava/include/java-interp.h
+++ b/libjava/include/java-interp.h
@@ -466,9 +466,9 @@ public:
if (pc_ptr == NULL)
pc = 0;
else
- pc = *pc_ptr;
+ pc = *pc_ptr - 1;
- return pc - 1;
+ return pc;
}
};