From caf46ed69b129b3e361f899556bd686168cebc53 Mon Sep 17 00:00:00 2001 From: gitlost Date: Thu, 3 Sep 2020 16:36:57 +0100 Subject: [PATCH] #205 library: Make dpd_parcel() signature consistent, props Pierre Y. --- backend/library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/library.c b/backend/library.c index 84e81428..b25ad3ab 100644 --- a/backend/library.c +++ b/backend/library.c @@ -185,7 +185,7 @@ INTERNAL int vin(struct zint_symbol *symbol, const unsigned char source[], const INTERNAL int mailmark(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length); /* Royal Mail 4-state Mailmark */ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length); /* Ultracode */ INTERNAL int rmqr(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length); /* rMQR */ -INTERNAL int dpd_parcel(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length); /* DPD Code */ +INTERNAL int dpd_parcel(struct zint_symbol *symbol, unsigned char source[], int length); /* DPD Code */ INTERNAL int plot_raster(struct zint_symbol *symbol, int rotate_angle, int file_type); /* Plot to PNG/BMP/PCX */ INTERNAL int plot_vector(struct zint_symbol *symbol, int rotate_angle, int file_type); /* Plot to EPS/EMF/SVG */