summaryrefslogtreecommitdiff
path: root/src/resources/dyepalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-13 12:49:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-13 12:49:11 +0300
commitc4cef10f92a8ff3fc668e0644d38744dccd06392 (patch)
tree048f4ac482571c5a424819d3e4507f67d21b8409 /src/resources/dyepalette.h
parentf0b7627b7d88c1d5bb484961377114b210c8dd53 (diff)
downloadplus-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.gz
plus-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.bz2
plus-c4cef10f92a8ff3fc668e0644d38744dccd06392.tar.xz
plus-c4cef10f92a8ff3fc668e0644d38744dccd06392.zip
Fix signed/unsigned type for some vars.
Diffstat (limited to 'src/resources/dyepalette.h')
-rw-r--r--src/resources/dyepalette.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/dyepalette.h b/src/resources/dyepalette.h
index a2f555b4f..39576002e 100644
--- a/src/resources/dyepalette.h
+++ b/src/resources/dyepalette.h
@@ -49,7 +49,8 @@ class DyePalette final
* Gets a pixel color depending on its intensity. First color is
* implicitly black (0, 0, 0).
*/
- void getColor(const int intensity, int color[3]) const;
+ void getColor(const unsigned int intensity,
+ unsigned int color[3]) const;
/**
* Gets a pixel color depending on its intensity.