From 2492b561385859b7ef76fe816a8dc845f0b9bd09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 01:53:51 +0300 Subject: Fix some casts between signed and unsigned in some files. --- src/gui/theme.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') 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(type) >= mColors.size()) { -- cgit v1.2.3-60-g2f50