diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-04-21 01:11:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-21 01:11:07 +0300 |
commit | e70ea6b9df34af48f9b6dc47a16d18cc430f6724 (patch) | |
tree | 8d7b0b02f6d5e084aa59b3efe79560f5cd871503 /src/Native/Runtime/GCMemoryHelpers.cpp | |
parent | e874d4e33b14dd7ac48cc95bc4e6eea629d5b916 (diff) |
Remove unnecessary casts around BulkWriteBarrier size argument (#3395)
Diffstat (limited to 'src/Native/Runtime/GCMemoryHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/GCMemoryHelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/GCMemoryHelpers.cpp b/src/Native/Runtime/GCMemoryHelpers.cpp index e30eac77c..eeb240455 100644 --- a/src/Native/Runtime/GCMemoryHelpers.cpp +++ b/src/Native/Runtime/GCMemoryHelpers.cpp @@ -84,7 +84,7 @@ COOP_PINVOKE_CDECL_HELPER(void *, memcpyGCRefsWithWriteBarrier, (void * dest, co ASSERT(src != nullptr); InlineForwardGCSafeCopy(dest, src, len); - InlinedBulkWriteBarrier(dest, (UInt32)len); + InlinedBulkWriteBarrier(dest, len); // memcpy returns the destination buffer return dest; @@ -128,7 +128,7 @@ void GCSafeZeroMemory(void * dest, size_t len) void GCSafeCopyMemoryWithWriteBarrier(void * dest, const void *src, size_t len) { InlineForwardGCSafeCopy(dest, src, len); - InlinedBulkWriteBarrier(dest, (UInt32)len); + InlinedBulkWriteBarrier(dest, len); } void REDHAWK_CALLCONV RhpBulkWriteBarrier(void* pMemStart, UInt32 cbMemSize) |