From 45a17142524b79254b0b87a8385ee36cbfac79ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Apr 2016 04:04:00 +0300 Subject: Fix code style. --- src/resources/dye/dyepalette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/dye') diff --git a/src/resources/dye/dyepalette.cpp b/src/resources/dye/dyepalette.cpp index 401eaf7ca..5884554ed 100644 --- a/src/resources/dye/dyepalette.cpp +++ b/src/resources/dye/dyepalette.cpp @@ -69,7 +69,7 @@ DyePalette::DyePalette(const std::string &restrict description, { if (str.size() != 3) continue; - alpha = (hexDecode(str[1]) << 4) + hexDecode(str[2]); + alpha = CAST_U8((hexDecode(str[1]) << 4) + hexDecode(str[2])); continue; } const DyeColor *const color = PaletteDB::getColor(str); -- cgit v1.2.3-60-g2f50