mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! bootm: add support to boot ZSTD compressed images
@ 2024-02-01 14:41 Marco Felsch
  0 siblings, 0 replies; only message in thread
From: Marco Felsch @ 2024-02-01 14:41 UTC (permalink / raw)
  To: barebox

---
 lib/decompress_unzstd.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/decompress_unzstd.c b/lib/decompress_unzstd.c
index 42166c21e255..ba8013da7af9 100644
--- a/lib/decompress_unzstd.c
+++ b/lib/decompress_unzstd.c
@@ -138,11 +138,11 @@ static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf,
 	return err;
 }
 
-static int INIT __unzstd(unsigned char *in_buf, long in_len,
-			 long (*fill)(void*, unsigned long),
-			 long (*flush)(void*, unsigned long),
-			 unsigned char *out_buf, long out_len,
-			 long *in_pos,
+static int INIT __unzstd(unsigned char *in_buf, int in_len,
+			 int (*fill)(void*, unsigned int),
+			 int (*flush)(void*, unsigned int),
+			 unsigned char *out_buf, int out_len,
+			 int *in_pos,
 			 void (*error)(char *x))
 {
 	ZSTD_inBuffer in;
-- 
2.39.2




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-01 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 14:41 [PATCH] fixup! bootm: add support to boot ZSTD compressed images Marco Felsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox