Skip to content

Commit e8019b5

Browse files
author
Meghana Gupta
committed
[MERGE #5874 @meg-gupta] Fix to right cast in RecyclableObject::Equals
Merge pull request #5874 from meg-gupta:fixcastbug
2 parents 28cd467 + aca31e2 commit e8019b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Types/RecyclableObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ namespace Js
640640
case TypeIds_UInt64Number:
641641
{
642642
unsigned __int64 leftValue = VarTo<JavascriptUInt64Number>(aLeft)->GetValue();
643-
unsigned __int64 rightValue = VarTo<JavascriptInt64Number>(aRight)->GetValue();
643+
unsigned __int64 rightValue = VarTo<JavascriptUInt64Number>(aRight)->GetValue();
644644
*value = leftValue == rightValue;
645645
return TRUE;
646646
}

0 commit comments

Comments
 (0)