From 9374c8e701dcb61a46c89a854235d91a23bf672e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jul 2019 20:02:16 +0300 Subject: warning fixes --- protocols/Weather/src/weather_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Weather/src/weather_data.cpp') diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp index e36ae9dc5b..c6d88e4f1f 100644 --- a/protocols/Weather/src/weather_data.cpp +++ b/protocols/Weather/src/weather_data.cpp @@ -270,7 +270,7 @@ void GetDataValue(WIDATAITEM *UpdateData, wchar_t *Data, wchar_t** szData) if (UpdateData->End[0] != 0) end = wcsstr(szInfo, UpdateData->End); else - end = wcsstr(szInfo, L" "); + end = wcschr(szInfo, ' '); if (end != nullptr) { // set the ending location -- cgit v1.2.3