From d49a520d19f28c613c68b574686b182a9c0621be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 18:41:42 +0300 Subject: Add missing checks into resources directory. --- src/resources/dyepalette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/dyepalette.h') 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. -- cgit v1.2.3-70-g09d2