summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-07 23:14:35 +0000
committerAnatolij Gustschin <agust@denx.de>2012-03-28 09:54:08 +0200
commitf3e6110a10b694b3beb1ba7704fb7632cc371844 (patch)
treec865680d9abcc9130cfe4cf75766c5fde0c1e02d
parent127e19e28d01782b422f0e283678e7e838547aa8 (diff)
lzma: fix printf warnings
Fix size_t printf format warnings: LzmaTools.c: In function 'lzmaBuffToBuffDecompress': LzmaTools.c:110:5: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'SizeT' LzmaTools.c:111:5: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'SizeT' Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--lib/lzma/LzmaTools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lzma/LzmaTools.c b/lib/lzma/LzmaTools.c
index 2eafad246e..28a8aefc2c 100644
--- a/lib/lzma/LzmaTools.c
+++ b/lib/lzma/LzmaTools.c
@@ -107,8 +107,8 @@ int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
}
}
- debug ("LZMA: Uncompresed size............ 0x%x\n", outSizeFull);
- debug ("LZMA: Compresed size.............. 0x%x\n", compressedSize);
+ debug("LZMA: Uncompresed size............ 0x%zx\n", outSizeFull);
+ debug("LZMA: Compresed size.............. 0x%zx\n", compressedSize);
g_Alloc.Alloc = SzAlloc;
g_Alloc.Free = SzFree;