aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redshift.c')
-rw-r--r--src/redshift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redshift.c b/src/redshift.c
index 403d04d..fb90bb0 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -1006,7 +1006,7 @@ run_continual_mode(const location_t *loc,
/* Adjust temperature */
if (!disabled || short_trans_delta || set_adjustments) {
- r = method->set_temperature(&state, &interp);
+ r = method->set_temperature(state, &interp);
if (r < 0) {
fputs(_("Temperature adjustment"
" failed.\n"), stderr);
@@ -1028,7 +1028,7 @@ run_continual_mode(const location_t *loc,
}
/* Restore saved gamma ramps */
- method->restore(&state);
+ method->restore(state);
return 0;
}