summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 09:25:14 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 09:25:14 +0000
commitb5b57169c2833b9e70cc4cff7cae127c11f02683 (patch)
tree7785b60d2dbd94e4618f527716d8fe224cec15c2 /plugins/AVS
parenta85d3756ce4eb0257025b005deb795ba05fd4fda (diff)
CopyMemory -> memcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@11363 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/cache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp
index 73f39892c9..a81ca58e99 100644
--- a/plugins/AVS/src/cache.cpp
+++ b/plugins/AVS/src/cache.cpp
@@ -235,7 +235,7 @@ void PicLoader(LPVOID)
QueueAdd(node->hContact);
AVATARCACHEENTRY ace_temp;
- CopyMemory(&ace_temp, node, sizeof(AVATARCACHEENTRY));
+ memcpy(&ace_temp, node, sizeof(AVATARCACHEENTRY));
ace_temp.hbmPic = 0;
int result = CreateAvatarInCache(node->hContact, &ace_temp, NULL);
@@ -251,7 +251,7 @@ void PicLoader(LPVOID)
HBITMAP oldPic = node->hbmPic;
{
mir_cslock l(cachecs);
- CopyMemory(node, &ace_temp, sizeof(AVATARCACHEENTRY));
+ memcpy(node, &ace_temp, sizeof(AVATARCACHEENTRY));
node->loaded = TRUE;
}
if (oldPic)
@@ -262,7 +262,7 @@ void PicLoader(LPVOID)
HBITMAP oldPic = node->hbmPic;
{
mir_cslock l(cachecs);
- CopyMemory(node, &ace_temp, sizeof(AVATARCACHEENTRY));
+ memcpy(node, &ace_temp, sizeof(AVATARCACHEENTRY));
node->loaded = FALSE;
}
if (oldPic)