From: Wolfgang Denk Date: Wed, 04 Aug 2010 00:44:08 +0200 Subject: [U-Boot] [PATCH] bootm: fix pointer warning with lzma In-Reply-To: <1280087657-12566-1-git-send-email-vapier@gentoo.org> References: <1280087657-12566-1-git-send-email-vapier@gentoo.org> Message-ID: <20100803224408.732BB28F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1280087657-12566-1-git-send-email-vapier@gentoo.org> you wrote: > 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 > --- > common/cmd_bootm.c | 7 +++++-- > 1 files changed, 5 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 Space is big. You just won't believe how vastly, hugely, mind- bogglingly big it is. I mean, you may think it's a long way down the road to the drug store, but that's just peanuts to space. -- The Hitchhiker's Guide to the Galaxy