Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumDev committed Oct 2, 2023
1 parent b9a4024 commit f41305f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WattleScript.Interpreter/Execution/VM/Instruction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal struct Instruction
//32 bits
public int NumVal
{
get => (int) (_data >> 7);
get => (int) ((_data >> 7) & 0xFFFFFFFF);
set => _data = (_data & ~0x7fffffff80UL) | ((ulong) (uint) value) << 7;
}

Expand Down

0 comments on commit f41305f

Please sign in to comment.