summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/src/weather_data.cpp')
-rw-r--r--protocols/Weather/src/weather_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp
index fe668dbfe8..69c92d8cda 100644
--- a/protocols/Weather/src/weather_data.cpp
+++ b/protocols/Weather/src/weather_data.cpp
@@ -129,7 +129,7 @@ void EraseAllInfo()
g_plugin.setByte(hContact, "IsUpdated", FALSE);
// reset logging settings
if (!g_plugin.getWString(hContact, "Log", &dbv)) {
- g_plugin.setByte(hContact, "File", (BYTE)(dbv.pwszVal[0] != 0));
+ g_plugin.setByte(hContact, "File", (uint8_t)(dbv.pwszVal[0] != 0));
db_free(&dbv);
}
else g_plugin.setByte(hContact, "File", FALSE);