public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] LZMA warnings in cmd_bootm
@ 2009-05-19  8:49 Mike Frysinger
  2009-05-20 20:45 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2009-05-19  8:49 UTC (permalink / raw)
  To: u-boot

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 unsigned 
int, but the decompress routine expects a pointer to a size_t.  could you take 
a look ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090519/16759729/attachment.pgp 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] LZMA warnings in cmd_bootm
  2009-05-19  8:49 [U-Boot] LZMA warnings in cmd_bootm Mike Frysinger
@ 2009-05-20 20:45 ` Wolfgang Denk
  2009-05-20 21:37   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2009-05-20 20:45 UTC (permalink / raw)
  To: u-boot

Dear Mike Frysinger,

In message <200905190449.30670.vapier@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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] LZMA warnings in cmd_bootm
  2009-05-20 20:45 ` Wolfgang Denk
@ 2009-05-20 21:37   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2009-05-20 21:37 UTC (permalink / raw)
  To: u-boot

On Wednesday 20 May 2009 16:45:13 Wolfgang Denk wrote:
> In message Mike Frysinger 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
> > unsigned int, but the decompress routine expects a pointer to a size_t.
> >  could you take a look ?
>
> For which board configuration / tool chain do you see such a warning?

every Blackfin board
-mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-20 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  8:49 [U-Boot] LZMA warnings in cmd_bootm Mike Frysinger
2009-05-20 20:45 ` Wolfgang Denk
2009-05-20 21:37   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox