diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-19 17:00:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-19 17:00:32 +0200 |
commit | 8376da7dc1debc601d8ef4a392a2f059382e883a (patch) | |
tree | 47246f1697f67e94c7d8ff46938edf262b0dbaf3 /src | |
parent | Add ref to other manpages that shall be written (diff) | |
download | libcoopgamma-8376da7dc1debc601d8ef4a392a2f059382e883a.tar.gz libcoopgamma-8376da7dc1debc601d8ef4a392a2f059382e883a.tar.bz2 libcoopgamma-8376da7dc1debc601d8ef4a392a2f059382e883a.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcoopgamma.c | 4 |
1 files 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; |