diff options
Diffstat (limited to 'src/vm/win32threadpool.h')
-rw-r--r-- | src/vm/win32threadpool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/win32threadpool.h b/src/vm/win32threadpool.h index 22fd6e05b4..f29c0bd954 100644 --- a/src/vm/win32threadpool.h +++ b/src/vm/win32threadpool.h @@ -1191,10 +1191,10 @@ public: ULONG count) { LIMITED_METHOD_CONTRACT; - memcpy(&threadCB->waitHandle[DestIndex], + memmove(&threadCB->waitHandle[DestIndex], &threadCB->waitHandle[SrcIndex], count * sizeof(HANDLE)); - memcpy(&threadCB->waitPointer[DestIndex], + memmove(&threadCB->waitPointer[DestIndex], &threadCB->waitPointer[SrcIndex], count * sizeof(LIST_ENTRY)); } |