diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 10:52:12 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 10:52:12 +0000 |
commit | 5a19f89d6c8eb148e6bb7b450f702b666f685ed1 (patch) | |
tree | 2214a02a6785d5f4716ee53d191674746b34790c /src/core/miranda.cpp | |
parent | 518e10779e770eac62fcedc96e750e538fa395ba (diff) |
MoveMemory -> memmove
git-svn-id: http://svn.miranda-ng.org/main/trunk@11365 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|