From ebc5381c5e46dc9c51d75fad2afc66fbe96919ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 May 2012 15:07:16 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Weather/weather_update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Weather/weather_update.cpp') diff --git a/protocols/Weather/weather_update.cpp b/protocols/Weather/weather_update.cpp index 832d4237c1..cf3e61826a 100644 --- a/protocols/Weather/weather_update.cpp +++ b/protocols/Weather/weather_update.cpp @@ -572,7 +572,7 @@ int GetWeatherData(HANDLE hContact) if (cbuf[0] == '#') cbuf = TranslateTS(DataValue); DBWriteContactSettingTString(hContact, WEATHERCONDITION, _T2A(Item->Item.Name), cbuf); - CharLowerBuff(DataValue, _tcslen(DataValue)); + CharLowerBuff(DataValue, (DWORD)_tcslen(DataValue)); cond = GetIcon(DataValue, Data); } else if ( _tcsicmp(Item->Item.Unit, _T("Cond")) == 0) { -- cgit v1.2.3