[U-Boot] [PATCH 2/6] YAFFS2: fs/yaffs2/yaffscfg.c - fix build warnings

Wolfgang Denk wd at denx.de
Sat Sep 10 00:00:43 CEST 2011


Dear Wolfgang Denk,

In message <1315483822-25399-3-git-send-email-wd at denx.de> you wrote:
> Fix these:
> yaffscfg.c: In function 'cmd_yaffs_mread_file':
> yaffscfg.c:316: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'char *'
> yaffscfg.c: In function 'cmd_yaffs_ls': yaffscfg.c:371: warning: format '%7d' expects type 'int', but argument 3 has type 'off_t'
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  fs/yaffs2/yaffscfg.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 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
HR Manager to job candidate "I see you've had no  computer  training.
Although  that  qualifies  you  for upper management, it means you're
under-qualified for our entry level positions."


More information about the U-Boot mailing list