bootm: fix pointer warning with lzma
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Jul 2010 19:54:17 +0000 (15:54 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Aug 2010 22:43:53 +0000 (00:43 +0200)
commit78e1e8467795d681b3f5f75140ba175e79954273
treea7c76656e3814404986d67c2e9c6b35ff3ab9b07
parent36448c6038aa06a7f031fd5c4141224b513ed838
bootm: fix pointer warning with lzma

Avoid warning:
cmd_bootm.c: In function 'bootm_load_os':
cmd_bootm.c:394: warning: passing argument 2 of
'lzmaBuffToBuffDecompress' from incompatible pointer type

For 32 bit systems, this change shouldn't make a difference to code size
since sizeof(size_t) and sizeof(unsigned int) are equal.  But it does fix
the warning.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_bootm.c