X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Funzip.c;h=afd58e7cdb12757c3cf333919e2087d711213ecd;hb=9dfbc24459ccb0623c76f33b359e8fedb0e6d0a7;hp=94f883f92a356cc7ff774192075ef0a7709de171;hpb=018f530323b2cc41be05be5b12375d3648f06554;p=oweals%2Fu-boot.git diff --git a/cmd/unzip.c b/cmd/unzip.c index 94f883f92a..afd58e7cdb 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include +#include +#include static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { @@ -28,7 +29,7 @@ static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) if (gunzip((void *) dst, dst_len, (void *) src, &src_len) != 0) return 1; - printf("Uncompressed size: %ld = 0x%lX\n", src_len, src_len); + printf("Uncompressed size: %lu = 0x%lX\n", src_len, src_len); env_set_hex("filesize", src_len); return 0;