summaryrefslogtreecommitdiff
path: root/plugins/MetaContacts/meta_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MetaContacts/meta_utils.cpp')
-rw-r--r--plugins/MetaContacts/meta_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MetaContacts/meta_utils.cpp b/plugins/MetaContacts/meta_utils.cpp
index de30a369a3..e319bdac46 100644
--- a/plugins/MetaContacts/meta_utils.cpp
+++ b/plugins/MetaContacts/meta_utils.cpp
@@ -1537,7 +1537,7 @@ void copyHistory(HANDLE hContactFrom,HANDLE hContactTo)
if ((dbei.cbBlob = CallService(MS_DB_EVENT_GETBLOBSIZE, (WPARAM)hDbEvent, 0)) == -1)
break;
- buffer = mir_realloc(buffer, dbei.cbBlob);// + id_length);
+ buffer = (BYTE *)mir_realloc(buffer, dbei.cbBlob);// + id_length);
dbei.pBlob = buffer;
if (CallService(MS_DB_EVENT_GET,(WPARAM)hDbEvent,(LPARAM)&dbei))