Skip to content

Commit

Permalink
lib: decompress_unzstd: define UINTPTR_MAX
Browse files Browse the repository at this point in the history
* define UINTPTR_MAX as it is used by decompress_unzstd.c

Signed-off-by: Cyber Knight <[email protected]>
  • Loading branch information
cyberknight777 committed Nov 18, 2021
1 parent 31ef7d2 commit 4927d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/decompress_unzstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
* zstd's window anyway. The larger size speeds up initramfs decompression.
*/
#define ZSTD_IOBUF_SIZE (1 << 17)
#define UINTPTR_MAX sizeof(uintptr_t)

static int INIT handle_zstd_error(size_t ret, void (*error)(char *x))
{
Expand Down

0 comments on commit 4927d31

Please sign in to comment.