[U-Boot] LZMA warnings in cmd_bootm

Wolfgang Denk wd at denx.de
Wed May 20 22:45:13 CEST 2009


Dear Mike Frysinger,

In message <200905190449.30670.vapier at gentoo.org> you wrote:
>
> the LZMA code that was added to cmd_bootm causes a warning:
> cmd_bootm.c: In function 'bootm_load_os':
> cmd_bootm.c:394: warning: passing argument 2 of 'lzmaBuffToBuffDecompress'>  
> from incompatible pointer type
>
> this is because the code passes in a pointer to unc_len which is an unsigne> d 
> int, but the decompress routine expects a pointer to a size_t.  could you t> ake 
> a look ?

For which board configuration / tool chain do you see such a warning?

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
Our business is run on trust.  We trust you will pay in advance.


More information about the U-Boot mailing list