From: Wolfgang Denk Date: Wed, 20 May 2009 22:45:13 +0200 Subject: [U-Boot] LZMA warnings in cmd_bootm In-Reply-To: <200905190449.30670.vapier@gentoo.org> References: <200905190449.30670.vapier@gentoo.org> Message-ID: <20090520204513.F0647832E416@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 <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.