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_marshal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcoopgamma_filter_marshal.c') diff --git a/libcoopgamma_filter_marshal.c b/libcoopgamma_filter_marshal.c index 8c2723e..b7f49ec 100644 --- a/libcoopgamma_filter_marshal.c +++ b/libcoopgamma_filter_marshal.c @@ -18,11 +18,11 @@ libcoopgamma_filter_marshal(const libcoopgamma_filter_t *restrict this, void *re marshal_version(LIBCOOPGAMMA_FILTER_VERSION); marshal_version(LIBCOOPGAMMA_DEPTH_VERSION); marshal_version(LIBCOOPGAMMA_LIFESPAN_VERSION); - marshal_prim(this->depth, libcoopgamma_depth_t); - marshal_prim(this->priority, int64_t); + marshal_prim(this->depth); + marshal_prim(this->priority); marshal_string(this->crtc); marshal_string(this->class); - marshal_prim(this->lifespan, libcoopgamma_lifespan_t); + marshal_prim(this->lifespan); switch (this->depth) { case LIBCOOPGAMMA_UINT8: off += libcoopgamma_ramps_marshal(&this->ramps.u8, SUBBUF); break; case LIBCOOPGAMMA_UINT16: off += libcoopgamma_ramps_marshal(&this->ramps.u16, SUBBUF); break; -- cgit v1.2.3-70-g09d2