summaryrefslogtreecommitdiff
path: root/src/resources/dyepalette.h
diff options
context:
space:
mode:
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.