diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 11:06:04 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 12:28:45 -0500 |
commit | a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 (patch) | |
tree | 6a68ea400a7905dfc39e4d4393e01d22f133a993 /src/redshift.h | |
parent | When in print mode do not start a gamma method (diff) | |
download | redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.gz redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.bz2 redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.xz |
Constify gamma parameter to set_temperature() methods
Diffstat (limited to 'src/redshift.h')
-rw-r--r-- | src/redshift.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |