From 8dbeda906aec95517c949665e02bf4da574ccc59 Mon Sep 17 00:00:00 2001 From: Christian Burger Date: Sat, 10 Jan 2015 12:32:04 +0100 Subject: fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c308ec69970662a8f5ceb8726e8d8cc --- src/redshift.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/redshift.c') 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; } -- cgit v1.2.3-70-g09d2