diff options
Diffstat (limited to 'protocols/Weather/weather_update.cpp')
-rw-r--r-- | protocols/Weather/weather_update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) {
|