From a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 9 Dec 2013 11:06:04 -0500 Subject: Constify gamma parameter to set_temperature() methods --- src/redshift.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/redshift.h') diff --git a/src/redshift.h b/src/redshift.h index c3d1239..a7489ce 100644 --- a/src/redshift.h +++ b/src/redshift.h @@ -34,7 +34,7 @@ typedef int gamma_method_set_option_func(void *state, const char *key, typedef void gamma_method_restore_func(void *state); typedef int gamma_method_set_temperature_func(void *state, int temp, float brightness, - float gamma[3]); + const float gamma[3]); typedef struct { char *name; -- cgit v1.2.3-70-g09d2