diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-13 12:49:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-13 12:49:11 +0300 |
commit | c4cef10f92a8ff3fc668e0644d38744dccd06392 (patch) | |
tree | 048f4ac482571c5a424819d3e4507f67d21b8409 /src/resources/dyepalette.cpp | |
parent | f0b7627b7d88c1d5bb484961377114b210c8dd53 (diff) | |
download | manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.gz manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.bz2 manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.xz manaverse-c4cef10f92a8ff3fc668e0644d38744dccd06392.zip |
Fix signed/unsigned type for some vars.
Diffstat (limited to 'src/resources/dyepalette.cpp')
-rw-r--r-- | src/resources/dyepalette.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/dyepalette.cpp b/src/resources/dyepalette.cpp index 4c62abd1c..753ff6823 100644 --- a/src/resources/dyepalette.cpp +++ b/src/resources/dyepalette.cpp @@ -99,7 +99,8 @@ unsigned int DyePalette::hexDecode(const signed char c) return 0; } -void DyePalette::getColor(const int intensity, int color[3]) const +void DyePalette::getColor(const unsigned int intensity, + unsigned int color[3]) const { if (intensity == 0) { |