summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/InternalButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/src/InternalButtons.cpp')
-rw-r--r--plugins/TopToolBar/src/InternalButtons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp
index 71b571f8df..305aee611e 100644
--- a/plugins/TopToolBar/src/InternalButtons.cpp
+++ b/plugins/TopToolBar/src/InternalButtons.cpp
@@ -53,7 +53,7 @@ INT_PTR TTBInternalStatusMenuButt(WPARAM, LPARAM)
INT_PTR TTBInternalSoundsOnOff(WPARAM, LPARAM)
{
int newVal = !(db_get_b(0, "Skin", "UseSound", 1));
- db_set_b(0, "Skin", "UseSound", (BYTE)newVal);
+ db_set_b(0, "Skin", "UseSound", (uint8_t)newVal);
return 0;
}