Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-04-20 17:45:25 +0300
committerGitHub <noreply@github.com>2017-04-20 17:45:25 +0300
commit771d1c45b6c5a591983a116d89aa8f71b2340cfc (patch)
treee5d1152c410cf49094bc4710f42e27873c4830a4 /src/Native/Runtime/GCMemoryHelpers.cpp
parent084aae73217e70229bd58df3c5585b901a20e0ca (diff)
Fix ProjectN build breaks (#3393)
Diffstat (limited to 'src/Native/Runtime/GCMemoryHelpers.cpp')
-rw-r--r--src/Native/Runtime/GCMemoryHelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/GCMemoryHelpers.cpp b/src/Native/Runtime/GCMemoryHelpers.cpp
index 4f9f0bcd3..e30eac77c 100644
--- a/src/Native/Runtime/GCMemoryHelpers.cpp
+++ b/src/Native/Runtime/GCMemoryHelpers.cpp
@@ -110,7 +110,7 @@ COOP_PINVOKE_CDECL_HELPER(void *, memcpyAnyWithWriteBarrier, (void * dest, const
// Move memory, in a way that is compatible with a move onto the heap, but
// does not require the destination pointer to be on the heap.
-COOP_PINVOKE_HELPER(void, RhBulkMoveWithWriteBarrier, (uint8_t* pDest, uint8_t* pSrc, int cbDest))
+COOP_PINVOKE_HELPER(void, RhBulkMoveWithWriteBarrier, (uint8_t* pDest, uint8_t* pSrc, size_t cbDest))
{
if (pDest <= pSrc || pSrc + cbDest <= pDest)
InlineForwardGCSafeCopy(pDest, pSrc, cbDest);