[PATCH] fixup! bootm: add support to boot ZSTD compressed images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


 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;

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux