From 60f202fca114edf503f7b7b5c94c0d7294482ada Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 3 Jun 2014 23:51:01 +0200 Subject: fix infinite recursion caused by calling wrong function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/libgamma-facade.c.gpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/libgamma-facade.c.gpp b/src/lib/libgamma-facade.c.gpp index 033a7ef..96987d4 100644 --- a/src/lib/libgamma-facade.c.gpp +++ b/src/lib/libgamma-facade.c.gpp @@ -701,7 +701,7 @@ int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t ramps_; ramps_.bits16 = *ramps; return libgamma_translated_ramp_get(this, &ramps_, 16, -1, - libgamma_crtc_get_gamma_ramps); + libgamma_crtc_get_gamma_rampsf); } #endif @@ -744,7 +744,7 @@ int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t ramps_; ramps_.bits16 = ramps; return libgamma_translated_ramp_set(this, ramps_, 16, -1, - libgamma_crtc_set_gamma_ramps); + libgamma_crtc_set_gamma_rampsf); } #endif @@ -803,7 +803,7 @@ int libgamma_crtc_£{action}_gamma_£{ramps}(libgamma_crtc_state_t* restrict thi /* Something else is used and we convert to Single precision float. */ ramps_.£{type} = £{p}ramps; return libgamma_translated_ramp_£{action}(this, £{p:+&}ramps_, £{bits}, -1, - libgamma_crtc_£{action}_gamma_ramps); + libgamma_crtc_£{action}_gamma_rampsf); £>fi #endif -- cgit v1.2.3-70-g09d2