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_marshal_.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcoopgamma_ramps_marshal_.c') diff --git a/libcoopgamma_ramps_marshal_.c b/libcoopgamma_ramps_marshal_.c index 65b5571..c428cfc 100644 --- a/libcoopgamma_ramps_marshal_.c +++ b/libcoopgamma_ramps_marshal_.c @@ -19,9 +19,9 @@ libcoopgamma_ramps_marshal_(const void *restrict this, void *restrict vbuf, size const libcoopgamma_ramps8_t *restrict this8 = (const libcoopgamma_ramps8_t *restrict)this; MARSHAL_PROLOGUE; marshal_version(LIBCOOPGAMMA_RAMPS_VERSION); - marshal_prim(this8->red_size, size_t); - marshal_prim(this8->green_size, size_t); - marshal_prim(this8->blue_size, size_t); + marshal_prim(this8->red_size); + marshal_prim(this8->green_size); + marshal_prim(this8->blue_size); marshal_buffer(this8->red, (this8->red_size + this8->green_size + this8->blue_size) * width); MARSHAL_EPILOGUE; } -- cgit v1.2.3-70-g09d2