summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-12 21:04:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-12 21:04:51 +0000
commitd4c37690295db5515f19a8b1cd221b4222f16eeb (patch)
treebd098d252fcedd637febbddfa1dbf88eef68dc88 /plugins/TrafficCounter/src/misc.cpp
parent5fea557d4846a9260c8b76f4157f3e722f7ddd2e (diff)
warning fixes
code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14932 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 c798f14add..c4e43379dc 100644
--- a/plugins/TrafficCounter/src/misc.cpp
+++ b/plugins/TrafficCounter/src/misc.cpp
@@ -47,7 +47,7 @@ WORD GetRowItems(TCHAR *InputString, RowItemInfo **RowItemsList)
*RowItemsList = (RowItemInfo*)mir_realloc(*RowItemsList, sizeof(RowItemInfo) * (c + 1));
// Разбираем тег.
- _stscanf(begin + 1, _T("%c%d"),
+ _stscanf(begin + 1, _T("%c%hd"),
&((*RowItemsList)[c].Alignment),
&((*RowItemsList)[c].Interval));