diff options
Diffstat (limited to 'src/core/miranda.cpp')
-rw-r--r-- | src/core/miranda.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp index d115105c35..8647b142ea 100644 --- a/src/core/miranda.cpp +++ b/src/core/miranda.cpp @@ -389,8 +389,8 @@ static INT_PTR RemoveWait(WPARAM wParam, LPARAM) return 1;
waitObjectCount--;
- MoveMemory(&hWaitObjects[i], &hWaitObjects[i + 1], sizeof(HANDLE)*(waitObjectCount - i));
- MoveMemory(&pszWaitServices[i], &pszWaitServices[i + 1], sizeof(char*)*(waitObjectCount - i));
+ memmove(&hWaitObjects[i], &hWaitObjects[i + 1], sizeof(HANDLE)*(waitObjectCount - i));
+ memmove(&pszWaitServices[i], &pszWaitServices[i + 1], sizeof(char*)*(waitObjectCount - i));
return 0;
}
|