From 69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 10 Feb 2025 18:28:54 +0100 Subject: Fix portability issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcoopgamma_filter_table_unmarshal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libcoopgamma_filter_table_unmarshal.c') 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; -- cgit v1.2.3-70-g09d2