]> git.sur5r.net Git - u-boot/commitdiff
lzma: fix printf warnings
authorMike Frysinger <vapier@gentoo.org>
Sat, 7 Jan 2012 23:14:35 +0000 (23:14 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 28 Mar 2012 07:54:08 +0000 (09:54 +0200)
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>
lib/lzma/LzmaTools.c

index 2eafad246e9e090970b59f321ddf615f029bc8e4..28a8aefc2ce7776afbc222185fc49a85b5c2e1e5 100644 (file)
@@ -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;