Skip to content
Snippets Groups Projects
Commit f3e6110a authored by Mike Frysinger's avatar Mike Frysinger Committed by Anatolij Gustschin
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 127e19e2
No related branches found
No related tags found
No related merge requests found
...@@ -107,8 +107,8 @@ int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize, ...@@ -107,8 +107,8 @@ int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
} }
} }
debug ("LZMA: Uncompresed size............ 0x%x\n", outSizeFull); debug("LZMA: Uncompresed size............ 0x%zx\n", outSizeFull);
debug ("LZMA: Compresed size.............. 0x%x\n", compressedSize); debug("LZMA: Compresed size.............. 0x%zx\n", compressedSize);
g_Alloc.Alloc = SzAlloc; g_Alloc.Alloc = SzAlloc;
g_Alloc.Free = SzFree; g_Alloc.Free = SzFree;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment