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

Wolfgang Denk wd at denx.de
Fri Oct 28 00:02:52 CEST 2011


Dear Marek Vasut,

In message <1319535702-20929-2-git-send-email-marek.vasut at 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 at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at 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


More information about the U-Boot mailing list