diff options
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r-- | src/gui/theme.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h index b8e8338c2..9e9badffa 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -133,7 +133,8 @@ class Theme final : public Palette, * @return the requested color */ inline const Color &getColor(ThemeColorIdT type, - const int alpha = 255) A_WARN_UNUSED + const unsigned int alpha = 255U) + A_WARN_UNUSED { if (static_cast<size_t>(type) >= mColors.size()) { |