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_crtc_info_unmarshal.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'libcoopgamma_crtc_info_unmarshal.c') diff --git a/libcoopgamma_crtc_info_unmarshal.c b/libcoopgamma_crtc_info_unmarshal.c index 0afd77b..8c89d99 100644 --- a/libcoopgamma_crtc_info_unmarshal.c +++ b/libcoopgamma_crtc_info_unmarshal.c @@ -19,21 +19,21 @@ libcoopgamma_crtc_info_unmarshal(libcoopgamma_crtc_info_t *restrict this, const unmarshal_version(LIBCOOPGAMMA_DEPTH_VERSION); unmarshal_version(LIBCOOPGAMMA_SUPPORT_VERSION); unmarshal_version(LIBCOOPGAMMA_COLOURSPACE_VERSION); - unmarshal_prim(this->cooperative, int); - 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(this->supported, libcoopgamma_support_t); - unmarshal_prim(this->colourspace, libcoopgamma_colourspace_t); - unmarshal_prim(this->have_gamut, int); - unmarshal_prim(this->red_x, unsigned); - unmarshal_prim(this->red_y, unsigned); - unmarshal_prim(this->green_x, unsigned); - unmarshal_prim(this->green_y, unsigned); - unmarshal_prim(this->blue_x, unsigned); - unmarshal_prim(this->blue_y, unsigned); - unmarshal_prim(this->white_x, unsigned); - unmarshal_prim(this->white_y, unsigned); + unmarshal_prim(this->cooperative); + unmarshal_prim(this->depth); + unmarshal_prim(this->red_size); + unmarshal_prim(this->green_size); + unmarshal_prim(this->blue_size); + unmarshal_prim(this->supported); + unmarshal_prim(this->colourspace); + unmarshal_prim(this->have_gamut); + unmarshal_prim(this->red_x); + unmarshal_prim(this->red_y); + unmarshal_prim(this->green_x); + unmarshal_prim(this->green_y); + unmarshal_prim(this->blue_x); + unmarshal_prim(this->blue_y); + unmarshal_prim(this->white_x); + unmarshal_prim(this->white_y); UNMARSHAL_EPILOGUE; } -- cgit v1.2.3-70-g09d2