aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma_ramps_marshal_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-10 18:28:54 +0100
committerMattias Andrée <m@maandree.se>2025-02-10 18:28:54 +0100
commit69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5 (patch)
tree55b05baf81f3b78e80df594f1c082735a03dc654 /libcoopgamma_ramps_marshal_.c
parentMinor code improvements and split into multiple c files (diff)
downloadlibcoopgamma-69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5.tar.gz
libcoopgamma-69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5.tar.bz2
libcoopgamma-69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5.tar.xz
Fix portability issuesHEAD1.2.4master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcoopgamma_ramps_marshal_.c')
-rw-r--r--libcoopgamma_ramps_marshal_.c6
1 files changed, 3 insertions, 3 deletions
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;
}