[U-Boot] [PATCH 1/7] GCC4.6: Squash warnings in LzmaTools.c

Wolfgang Denk
2011-10-27T22:02:52Z

Dear Marek Vasut,

In message <1319535702-20929-2-git-send-email-marek.vasut@gmail.com> you wrote:
> LzmaTools.c: In function 'lzmaBuffToBuffDecompress':
> LzmaTools.c:70:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'unsigned char *'
> LzmaTools.c:71:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'unsigned char *'
> LzmaTools.c:72:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'unsigned char *'
> LzmaTools.c:73:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'unsigned char *'
> LzmaTools.c:74:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'unsigned char *'
> LzmaTools.c:110:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'SizeT'
> LzmaTools.c:111:5: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'SizeT'
>
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Mike Frysinger <vapier@gentoo.org>
> ---
> lib/lzma/LzmaTools.c | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
O Staat! Wie tief dir alle Besten fluchen! Du bist kein Ziel. Der
Mensch mu? weiter suchen. - Christian Morgenstern