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_ramps_unmarshal_.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcoopgamma_ramps_unmarshal_.c') diff --git a/libcoopgamma_ramps_unmarshal_.c b/libcoopgamma_ramps_unmarshal_.c index fe07c22..5be456e 100644 --- a/libcoopgamma_ramps_unmarshal_.c +++ b/libcoopgamma_ramps_unmarshal_.c @@ -20,9 +20,9 @@ libcoopgamma_ramps_unmarshal_(void *restrict this, const void *restrict vbuf, libcoopgamma_ramps8_t *restrict this8 = (libcoopgamma_ramps8_t *restrict)this; UNMARSHAL_PROLOGUE; unmarshal_version(LIBCOOPGAMMA_RAMPS_VERSION); - unmarshal_prim(this8->red_size, size_t); - unmarshal_prim(this8->green_size, size_t); - unmarshal_prim(this8->blue_size, size_t); + unmarshal_prim(this8->red_size); + unmarshal_prim(this8->green_size); + unmarshal_prim(this8->blue_size); unmarshal_buffer(this8->red, (this8->red_size + this8->green_size + this8->blue_size) * width); this8->green = this8->red + this8->red_size * width; this8->blue = this8->green + this8->green_size * width; -- cgit v1.2.3-70-g09d2