summaryrefslogtreecommitdiff
path: root/src/modules/clist/contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/contacts.cpp')
-rw-r--r--src/modules/clist/contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp
index b07aa7e921..4ebe10d121 100644
--- a/src/modules/clist/contacts.cpp
+++ b/src/modules/clist/contacts.cpp
@@ -516,7 +516,7 @@ int LoadContactsModule(void)
DBVARIANT dbv;
if (!db_get(NULL, "Contact", "NameOrder", &dbv)) {
- CopyMemory(nameOrder, dbv.pbVal, dbv.cpbVal);
+ memcpy(nameOrder, dbv.pbVal, dbv.cpbVal);
db_free(&dbv);
}