aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma_ramps_unmarshal_.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcoopgamma_ramps_unmarshal_.c')
-rw-r--r--libcoopgamma_ramps_unmarshal_.c6
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;