summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
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)