mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed sign extension error
This commit is contained in:
parent
2fdb6ddff6
commit
b16ff3048a
1 changed files with 2 additions and 2 deletions
|
@ -7389,7 +7389,7 @@ DbgTypedValue DbgExprEvaluator::MatchMethod(BfAstNode* targetSrc, DbgTypedValue
|
||||||
{
|
{
|
||||||
if ((argValues.size() == 2) && (argValues[0]) && (argValues[1]))
|
if ((argValues.size() == 2) && (argValues[0]) && (argValues[1]))
|
||||||
{
|
{
|
||||||
uint64 val = (uint64)argValues[0].GetInt64();
|
uint64 val = argValues[0].mUInt64;
|
||||||
int bitCount = (int)argValues[1].GetInt64();
|
int bitCount = (int)argValues[1].GetInt64();
|
||||||
|
|
||||||
DbgTypedValue result;
|
DbgTypedValue result;
|
||||||
|
@ -7402,7 +7402,7 @@ DbgTypedValue DbgExprEvaluator::MatchMethod(BfAstNode* targetSrc, DbgTypedValue
|
||||||
{
|
{
|
||||||
if ((argValues.size() == 2) && (argValues[0]) && (argValues[1]))
|
if ((argValues.size() == 2) && (argValues[0]) && (argValues[1]))
|
||||||
{
|
{
|
||||||
uint64 val = (uint64)argValues[0].GetInt64();
|
uint64 val = argValues[0].mUInt64;
|
||||||
int bitCount = (int)argValues[1].GetInt64();
|
int bitCount = (int)argValues[1].GetInt64();
|
||||||
|
|
||||||
if (bitCount <= 0)
|
if (bitCount <= 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue