summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/misc.cpp
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2014-05-26 03:32:33 +0000
committerVlad Mironov <mironych@googlemail.com>2014-05-26 03:32:33 +0000
commit5a5375019687667b06b011958c7cf595e1a80e0b (patch)
treebc2ac41168f2b1044965de5e27115187a26b62b7 /plugins/TrafficCounter/src/misc.cpp
parentc517ae27438aa967831c5a0cf510aff30ba39071 (diff)
gcc compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src/misc.cpp')
-rw-r--r--plugins/TrafficCounter/src/misc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/misc.cpp b/plugins/TrafficCounter/src/misc.cpp
index 6320117246..cf1215ec8a 100644
--- a/plugins/TrafficCounter/src/misc.cpp
+++ b/plugins/TrafficCounter/src/misc.cpp
@@ -189,7 +189,8 @@ WORD GetDurationFormatM(DWORD Duration, TCHAR *Format, TCHAR *Buffer, WORD Size)
*Res; // Промежуточный результат.
Res = (TCHAR*)malloc(sizeof(TCHAR)); // Выделяем чуть-чуть памяти под результат, но это только начало.
- SecureZeroMemory(Res, sizeof(TCHAR));
+ //SecureZeroMemory(Res, sizeof(TCHAR));
+ Res[0] = 0;
for (FormatIndex = 0; Format[FormatIndex];)
{