Skip to content

Commit 4bbd32d

Browse files
[clr-interp] Fix INTOP_CGT_UN_I8 (#118511)
It was treating its inputs as 4 byte integers instead of 8 byte integers
1 parent a53ffc1 commit 4bbd32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/interpexec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ void InterpExecMethod(InterpreterFrame *pInterpreterFrame, InterpMethodContextFr
16041604
ip += 4;
16051605
break;
16061606
case INTOP_CGT_UN_I8:
1607-
LOCAL_VAR(ip[1], int32_t) = LOCAL_VAR(ip[2], uint32_t) > LOCAL_VAR(ip[3], uint32_t);
1607+
LOCAL_VAR(ip[1], int32_t) = LOCAL_VAR(ip[2], uint64_t) > LOCAL_VAR(ip[3], uint64_t);
16081608
ip += 4;
16091609
break;
16101610
case INTOP_CGT_UN_R4:

0 commit comments

Comments
 (0)