[U-Boot] [PATCH 04/10] GCC4.6: Squash warnings in tqm834x.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:57:20 CEST 2011


Dear Marek Vasut,

In message <1319535510-20737-5-git-send-email-marek.vasut at gmail.com> you wrote:
> tqm834x.c: In function 'initdram':
> tqm834x.c:126: warning: format '%d' expects type 'int', but argument 3 has type
> 'long int'
> tqm834x.c: In function 'set_cs_bounds':
> tqm834x.c:336: warning: format '%08x' expects type 'unsigned int', but argument
> 2 has type 'long int'
> tqm834x.c:336: warning: format '%08x' expects type 'unsigned int', but argument
> 3 has type 'long int'
> tqm834x.c: In function 'set_cs_config':
> tqm834x.c:354: warning: format '%08x' expects type 'unsigned int', but argument
> 2 has type 'long int'
> 
> 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>
> ---
>  board/tqc/tqm834x/tqm834x.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 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
"If it ain't broke, don't fix it."                       - Bert Lantz


More information about the U-Boot mailing list