diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-11-20 10:58:46 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-11-20 10:58:46 -0800 |
commit | 3dba4e2ef06848cbf2bac2cc4ea894ee2acee3f4 (patch) | |
tree | a448b5631c9221d866a6aa6b8ac75d6ba7135434 /src/vm/corhost.cpp | |
parent | 51d30241b33acc040707d04d6f0bff1b1d5cae2f (diff) | |
download | coreclr-3dba4e2ef06848cbf2bac2cc4ea894ee2acee3f4.tar.gz coreclr-3dba4e2ef06848cbf2bac2cc4ea894ee2acee3f4.tar.bz2 coreclr-3dba4e2ef06848cbf2bac2cc4ea894ee2acee3f4.zip |
Fix build breaks in legacy build
[tfs-changeset: 1550765]
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r-- | src/vm/corhost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp index 3b559872bd..4d6515d6d2 100644 --- a/src/vm/corhost.cpp +++ b/src/vm/corhost.cpp @@ -4008,7 +4008,7 @@ public: static DWORD lastTime = (DWORD)-1; if (eMemoryAvailable == eMemoryAvailableLow) { - FastInterlockIncrement (&g_bLowMemoryFromHost); + FastInterlockIncrement ((LONG *)&g_bLowMemoryFromHost); DWORD curTime = GetTickCount(); if (curTime < lastTime || curTime - lastTime >= 0x2000) { @@ -4018,7 +4018,7 @@ public: } else { - FastInterlockExchange (&g_bLowMemoryFromHost, FALSE); + FastInterlockExchange ((LONG *)&g_bLowMemoryFromHost, FALSE); } END_ENTRYPOINT_NOTHROW; |