summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistorySweeperLight/src/main.cpp')
-rw-r--r--plugins/HistorySweeperLight/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp
index 416c83f319..6879740404 100644
--- a/plugins/HistorySweeperLight/src/main.cpp
+++ b/plugins/HistorySweeperLight/src/main.cpp
@@ -57,7 +57,7 @@ static int OnIconPressed(WPARAM hContact, LPARAM lParam)
nh = (nh + 1) % 4;
- g_plugin.setByte(hContact, "SweepHistory", (BYTE)nh);
+ g_plugin.setByte(hContact, "SweepHistory", (uint8_t)nh);
Srmm_SetIconFlags(hContact, MODULENAME, nh, 0);
}
return 0;