summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeClassic/src')
-rw-r--r--protocols/SkypeClassic/src/memlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeClassic/src/memlist.cpp b/protocols/SkypeClassic/src/memlist.cpp
index b14133ef57..73c07d64d8 100644
--- a/protocols/SkypeClassic/src/memlist.cpp
+++ b/protocols/SkypeClassic/src/memlist.cpp
@@ -88,7 +88,7 @@ BOOL List_InsertElementAt(TYP_LIST *pstHandle, void *pItem, unsigned int uiPos)
}
if (uiPos<pstHandle->uiCount)
- MoveMemory (&pstHandle->apStorage[uiPos+1], &pstHandle->apStorage[uiPos], (pstHandle->uiCount-uiPos)*sizeof(void*));
+ memmove (&pstHandle->apStorage[uiPos+1], &pstHandle->apStorage[uiPos], (pstHandle->uiCount-uiPos)*sizeof(void*));
pstHandle->apStorage[uiPos] = pItem;
pstHandle->uiCount++;
LeaveCriticalSection (&pstHandle->cs);
@@ -102,7 +102,7 @@ void *List_RemoveElementAt(TYP_LIST *pstHandle, unsigned int uiPos)
EnterCriticalSection (&pstHandle->cs);
pRet = pstHandle->apStorage[uiPos];
if (uiPos<pstHandle->uiCount)
- MoveMemory (&pstHandle->apStorage[uiPos], &pstHandle->apStorage[uiPos+1], (pstHandle->uiCount-uiPos)*sizeof(void*));
+ memmove (&pstHandle->apStorage[uiPos], &pstHandle->apStorage[uiPos+1], (pstHandle->uiCount-uiPos)*sizeof(void*));
pstHandle->uiCount--;
LeaveCriticalSection (&pstHandle->cs);
return pRet;