mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] fixup! bootm: add support to boot ZSTD compressed images
Date: Thu,  1 Feb 2024 15:41:24 +0100	[thread overview]
Message-ID: <20240201144124.3436807-1-m.felsch@pengutronix.de> (raw)

---
 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




                 reply	other threads:[~2024-02-01 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240201144124.3436807-1-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox