From 56a5cf2503e4e5f87ceb2cb7549d681da4746bea Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 27 Nov 2007 15:22:05 -0700 Subject: [PATCH] fix thinko in jsr_w implementation --- src/interpret.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpret.cpp b/src/interpret.cpp index c24dca9826..d0b865a80c 100644 --- a/src/interpret.cpp +++ b/src/interpret.cpp @@ -1928,7 +1928,7 @@ interpret(Thread* t) uint32_t offset = codeReadInt32(t, code, ip); pushInt(t, ip); - ip = (ip - 3) + static_cast(offset); + ip = (ip - 5) + static_cast(offset); } goto loop; case l2i: {