aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma_filter_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_filter_marshal.c
parentMinor code improvements and split into multiple c files (diff)
downloadlibcoopgamma-1.2.4.tar.gz
libcoopgamma-1.2.4.tar.bz2
libcoopgamma-1.2.4.tar.xz
Fix portability issuesHEAD1.2.4master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcoopgamma_filter_marshal.c')
-rw-r--r--libcoopgamma_filter_marshal.c6
1 files changed, 3 insertions, 3 deletions
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;