diff options
author | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-07 01:46:07 +0000 |
---|---|---|
committer | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-07 04:41:35 +0000 |
commit | b1f7195e26d8e0eb310515fe44d02883375c9ec3 (patch) | |
tree | ea126314b1d797ffe2c3385902d16bcacd079049 /src/vm/i386 | |
parent | 502de2a97b9fd26082ee8e3de46734724b2b535c (diff) | |
download | coreclr-b1f7195e26d8e0eb310515fe44d02883375c9ec3.tar.gz coreclr-b1f7195e26d8e0eb310515fe44d02883375c9ec3.tar.bz2 coreclr-b1f7195e26d8e0eb310515fe44d02883375c9ec3.zip |
conversion
Diffstat (limited to 'src/vm/i386')
-rw-r--r-- | src/vm/i386/stublinkerx86.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/i386/stublinkerx86.cpp b/src/vm/i386/stublinkerx86.cpp index 9902419c97..742e2fcc07 100644 --- a/src/vm/i386/stublinkerx86.cpp +++ b/src/vm/i386/stublinkerx86.cpp @@ -1414,7 +1414,7 @@ VOID StubLinkerCPU::X86EmitSPIndexPush(__int32 ofs) // The offset can be expressed in a byte (can use the byte // form of the push esp instruction) - BYTE code[] = {0xff, 0x74, 0x24, ofs8}; + BYTE code[] = {0xff, 0x74, 0x24, (BYTE)(ofs8 & 0xFF)}; EmitBytes(code, sizeof(code)); } else |