From d4c37690295db5515f19a8b1cd221b4222f16eeb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Aug 2015 21:04:51 +0000 Subject: warning fixes code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TrafficCounter/src/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TrafficCounter/src/misc.cpp') 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)); -- cgit v1.2.3