Skip to content

Commit

Permalink
Update src/Neo.Compiler.MSIL/MSIL/Converter.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Apr 30, 2020
1 parent bef47cb commit 5f97e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo.Compiler.MSIL/MSIL/Converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private void ConvertAddrInMethod(NeoMethod to)
else
{
var _addrFinal = addrconv[srcFinal];
Int32 addroffFinal = (Int32)(_addrFinal - c.addr);
int addroffFinal = (int)(_addrFinal - c.addr);
var bytesFinal = BitConverter.GetBytes(addroffFinal);
Array.Copy(bytesFinal, 0, c.bytes, 4, 4);
}
Expand Down

0 comments on commit 5f97e0a

Please sign in to comment.