summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/mirandasettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/mirandasettings.cpp')
-rw-r--r--plugins/HistoryStats/src/mirandasettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/mirandasettings.cpp b/plugins/HistoryStats/src/mirandasettings.cpp
index c0da3dd256..a6707a2cc0 100644
--- a/plugins/HistoryStats/src/mirandasettings.cpp
+++ b/plugins/HistoryStats/src/mirandasettings.cpp
@@ -42,7 +42,7 @@ ext::string MirandaSettings::readStrDirect(const char* szSetting, const TCHAR* s
{
DBVARIANT dbv;
- ZeroMemory(&dbv, sizeof(dbv));
+ memset(&dbv, 0, sizeof(dbv));
dbv.type = DBVT_WCHAR;