summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/src/reg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/src/reg.cpp')
-rw-r--r--plugins/AssocMgr/src/reg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AssocMgr/src/reg.cpp b/plugins/AssocMgr/src/reg.cpp
index d792a69566..fc5803d7e1 100644
--- a/plugins/AssocMgr/src/reg.cpp
+++ b/plugins/AssocMgr/src/reg.cpp
@@ -346,7 +346,7 @@ static void WriteDbBackupData(const char *pszSetting,DWORD dwType,BYTE *pData,DW
if (buf) {
*(DWORD*)buf = dwType;
CopyMemory(buf+sizeof(DWORD), pData, cbData);
- db_set_blob(NULL, "AssocMgr", pszSetting, buf, cbLen);
+ db_set_blob(NULL, "AssocMgr", pszSetting, buf, (unsigned)cbLen);
mir_free(buf);
}
}