summaryrefslogtreecommitdiff
path: root/src/resources/dyepalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-24 18:41:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-25 22:08:24 +0300
commitd49a520d19f28c613c68b574686b182a9c0621be (patch)
tree5b6943125fd364eaaaaa295b45100cdfc473dd93 /src/resources/dyepalette.h
parent14f55eb8c6e44763e70046b9661bd056280226a5 (diff)
downloadplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.gz
plus-d49a520d19f28c613c68b574686b182a9c0621be.tar.bz2
plus-d49a520d19f28c613c68b574686b182a9c0621be.tar.xz
plus-d49a520d19f28c613c68b574686b182a9c0621be.zip
Add missing checks into resources directory.
Diffstat (limited to 'src/resources/dyepalette.h')
-rw-r--r--src/resources/dyepalette.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/dyepalette.h b/src/resources/dyepalette.h
index 3132077fb..467ec0ac1 100644
--- a/src/resources/dyepalette.h
+++ b/src/resources/dyepalette.h
@@ -50,12 +50,12 @@ class DyePalette final
* implicitly black (0, 0, 0).
*/
void getColor(const unsigned int intensity,
- unsigned int color[3]) const;
+ unsigned int (&color)[3]) const;
/**
* Gets a pixel color depending on its intensity.
*/
- void getColor(double intensity, int color[3]) const;
+ void getColor(double intensity, int (&color)[3]) const;
/**
* replace colors for SDL for S dye.