summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_ini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/weather_ini.cpp')
-rw-r--r--protocols/Weather/weather_ini.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Weather/weather_ini.cpp b/protocols/Weather/weather_ini.cpp
index b3c0be722c..6273ecad50 100644
--- a/protocols/Weather/weather_ini.cpp
+++ b/protocols/Weather/weather_ini.cpp
@@ -137,7 +137,7 @@ void WICondListAdd(char *str, WICONDLIST *List)
{
WICONDITEM *newItem = (WICONDITEM*)mir_alloc(sizeof(WICONDITEM));
wSetData(&newItem->Item, str);
- CharLowerBuff(newItem->Item, _tcslen( newItem->Item ));
+ CharLowerBuff(newItem->Item, (DWORD)_tcslen( newItem->Item ));
newItem->Next = NULL;
if (List->Tail == NULL) List->Head = newItem;
else List->Tail->Next = newItem;