From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Mon, 18 Oct 2004 09:58:25 +0200 Subject: [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c In-Reply-To: <20041018075247.F38EDC1430@atlas.denx.de> References: <20041018075247.F38EDC1430@atlas.denx.de> Message-ID: <417377A1.9020709@imc-berlin.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 Wolfgang, >>CHANGELOG: >>Fix typo and warning in board/versatile/flash.c > > > Please check again. > This is already fixed in CVS. Yes. Sorry. I just noticed that. >>- printf ("not erased at %08lx (%x)\n", (ulong) addr, *addr); >>+ printf ("not erased at %08lx (%lx)\n", (ulong) addr, *addr); > > I don't get a warning for this code, neither with GCC-2.95.4 nor with > GCC-3.3.3. Which toolchain are you using, and what is the error / > warning message? I am using arm_920TDI-gcc Version 2.95.4 from you ELDK 2.1 and get flash.c: In function `write_data': flash.c:479: warning: unsigned int format, long unsigned int arg (arg 3) -- Steven Scholz