summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-21 13:30:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-21 13:30:39 +0300
commit1fcc02e803d83ae8415ff44f9696cb215f475daa (patch)
tree3c4ccb5160624db095a139cb5a81a982e156d81c /src/resources/dye.h
parent126fa885664da8a8de86f3a38c04469f7006e447 (diff)
downloadmv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.gz
mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.bz2
mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.xz
mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.zip
fix signed shifts.
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r--src/resources/dye.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h
index a68839e47..b6003624b 100644
--- a/src/resources/dye.h
+++ b/src/resources/dye.h
@@ -82,7 +82,7 @@ class DyePalette final
void replaceAOGLColor(uint32_t *restrict pixels,
const int bufSize) const;
- static int hexDecode(const signed char c) A_WARN_UNUSED;
+ static unsigned int hexDecode(const signed char c) A_WARN_UNUSED;
private:
std::vector<DyeColor> mColors;