diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-04-20 17:45:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 17:45:25 +0300 |
commit | 771d1c45b6c5a591983a116d89aa8f71b2340cfc (patch) | |
tree | e5d1152c410cf49094bc4710f42e27873c4830a4 /src/Native/Runtime/GCMemoryHelpers.cpp | |
parent | 084aae73217e70229bd58df3c5585b901a20e0ca (diff) |
Fix ProjectN build breaks (#3393)
Diffstat (limited to 'src/Native/Runtime/GCMemoryHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/GCMemoryHelpers.cpp | 2 |
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); |