summaryrefslogtreecommitdiff
path: root/src/resources/dye
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-23 04:04:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-23 04:04:00 +0300
commit45a17142524b79254b0b87a8385ee36cbfac79ce (patch)
tree04865c94ae41a9740dc4a52f693cbd830f4c125d /src/resources/dye
parent7e8f6e26d5e2d1c560092cf72bc4f7f98f7fba07 (diff)
downloadplus-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.gz
plus-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.bz2
plus-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.xz
plus-45a17142524b79254b0b87a8385ee36cbfac79ce.zip
Fix code style.
Diffstat (limited to 'src/resources/dye')
-rw-r--r--src/resources/dye/dyepalette.cpp2
1 files changed, 1 insertions, 1 deletions
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);