summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-14 21:33:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-14 21:33:38 +0000
commit0f8566dd046d34ea0ff6b747f7383ffb17f6761e (patch)
tree7754cc5ea95a3599ad18410f3708cf70625baf63 /plugins/TrafficCounter/src/misc.cpp
parent5bb6c8a74313a4b62de9cd4c2613d43945c3727b (diff)
WindowList_* functions are not services anymore; unneeded helpers removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14168 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src/misc.cpp')
-rw-r--r--plugins/TrafficCounter/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/misc.cpp b/plugins/TrafficCounter/src/misc.cpp
index 196ec13abb..fa304ad0de 100644
--- a/plugins/TrafficCounter/src/misc.cpp
+++ b/plugins/TrafficCounter/src/misc.cpp
@@ -159,7 +159,7 @@ size_t GetFormattedTraffic(DWORD Value, BYTE Unit, TCHAR *Buffer, size_t Size)
l += mir_tstrlen(szUnit) + 1;
Res = (TCHAR*)malloc(l * sizeof(TCHAR));
if (!Res) return 0;
- GetNumberFormat(LOCALE_USER_DEFAULT, 0, Str1, &nf, Res, l);
+ GetNumberFormat(LOCALE_USER_DEFAULT, 0, Str1, &nf, Res, (int)l);
mir_tstrcat(Res, szUnit);
if (Size && Buffer)