diff options
author | Mattias Andrée <m@maandree.se> | 2025-02-10 18:28:54 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-02-10 18:28:54 +0100 |
commit | 69e7fdc8f7ed2782e2c73b632c2a7ee7e6b641d5 (patch) | |
tree | 55b05baf81f3b78e80df594f1c082735a03dc654 /libcoopgamma_ramps_unmarshal_.c | |
parent | Minor code improvements and split into multiple c files (diff) | |
download | libcoopgamma-1.2.4.tar.gz libcoopgamma-1.2.4.tar.bz2 libcoopgamma-1.2.4.tar.xz |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcoopgamma_ramps_unmarshal_.c')
-rw-r--r-- | libcoopgamma_ramps_unmarshal_.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcoopgamma_ramps_unmarshal_.c b/libcoopgamma_ramps_unmarshal_.c index fe07c22..5be456e 100644 --- a/libcoopgamma_ramps_unmarshal_.c +++ b/libcoopgamma_ramps_unmarshal_.c @@ -20,9 +20,9 @@ libcoopgamma_ramps_unmarshal_(void *restrict this, const void *restrict vbuf, libcoopgamma_ramps8_t *restrict this8 = (libcoopgamma_ramps8_t *restrict)this; UNMARSHAL_PROLOGUE; unmarshal_version(LIBCOOPGAMMA_RAMPS_VERSION); - unmarshal_prim(this8->red_size, size_t); - unmarshal_prim(this8->green_size, size_t); - unmarshal_prim(this8->blue_size, size_t); + unmarshal_prim(this8->red_size); + unmarshal_prim(this8->green_size); + unmarshal_prim(this8->blue_size); unmarshal_buffer(this8->red, (this8->red_size + this8->green_size + this8->blue_size) * width); this8->green = this8->red + this8->red_size * width; this8->blue = this8->green + this8->green_size * width; |