From 8376da7dc1debc601d8ef4a392a2f059382e883a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 19 Jul 2016 17:00:32 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libcoopgamma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c index 1812874..eec012a 100644 --- a/src/libcoopgamma.c +++ b/src/libcoopgamma.c @@ -2235,7 +2235,7 @@ int libcoopgamma_get_gamma_recv(libcoopgamma_filter_table_t* restrict table, goto fail; table->filters->priority = 0; table->filters->class = NULL; - if ((libcoopgamma_ramps_initialise)(&(table->filters->ramps), width) < 0) + if (libcoopgamma_ramps_initialise_(&(table->filters->ramps), width) < 0) goto fail; memcpy(table->filters->ramps.u8.red, payload, clutsize); } @@ -2261,7 +2261,7 @@ int libcoopgamma_get_gamma_recv(libcoopgamma_filter_table_t* restrict table, off += len; if (off + clutsize > n) goto bad; - if ((libcoopgamma_ramps_initialise)(&(table->filters[i].ramps), width) < 0) + if (libcoopgamma_ramps_initialise_(&(table->filters[i].ramps), width) < 0) goto fail; memcpy(table->filters->ramps.u8.red, payload + off, clutsize); off += clutsize; -- cgit v1.2.3-70-g09d2