diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-08 18:12:42 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-08 18:12:42 +0000 |
commit | a652006b6236ab2ed766404648cb33d11aa6de06 (patch) | |
tree | 563ef9617bea7c00ea2ef0e0b77936b842c6d6ca /libjava/interpret.cc | |
parent | c5a12bba2ce15380bd1d72c88c28982b8ea7b596 (diff) | |
download | gcc-a652006b6236ab2ed766404648cb33d11aa6de06.tar.gz |
* interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
unsigned long temporary to implement insn_iushr shifts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57936 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc index d231387dc9a..d3f919bac13 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -1883,7 +1883,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args) insn_iushr: { jint shift = (POPI() & 0x1f); - unsigned long value = POPI(); + UINT32 value = (UINT32) POPI(); PUSHI ((jint) (value >> shift)); } NEXT_INSN; |