diff options
author | Mattias Andrée <m@maandree.se> | 2025-02-10 18:28:54 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-02-10 18:28:54 +0100 |
commit | 69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5 (patch) | |
tree | 55b05baf81f3b78e80df594f1c082735a03dc654 /libcoopgamma_filter_table_unmarshal.c | |
parent | Minor code improvements and split into multiple c files (diff) | |
download | libcoopgamma-1.2.4.tar.gz libcoopgamma-1.2.4.tar.bz2 libcoopgamma-1.2.4.tar.xz |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcoopgamma_filter_table_unmarshal.c')
-rw-r--r-- | libcoopgamma_filter_table_unmarshal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcoopgamma_filter_table_unmarshal.c b/libcoopgamma_filter_table_unmarshal.c index 1059d85..74e54cf 100644 --- a/libcoopgamma_filter_table_unmarshal.c +++ b/libcoopgamma_filter_table_unmarshal.c @@ -21,11 +21,11 @@ libcoopgamma_filter_table_unmarshal(libcoopgamma_filter_table_t *restrict this, this->filters = NULL; unmarshal_version(LIBCOOPGAMMA_FILTER_TABLE_VERSION); unmarshal_version(LIBCOOPGAMMA_DEPTH_VERSION); - unmarshal_prim(this->depth, libcoopgamma_depth_t); - unmarshal_prim(this->red_size, size_t); - unmarshal_prim(this->green_size, size_t); - unmarshal_prim(this->blue_size, size_t); - unmarshal_prim(fn, size_t); + unmarshal_prim(this->depth); + unmarshal_prim(this->red_size); + unmarshal_prim(this->green_size); + unmarshal_prim(this->blue_size); + unmarshal_prim(fn); this->filters = malloc(fn * sizeof(*this->filters)); if (!this->filters) return LIBCOOPGAMMA_ERRNO_SET; |