Skip to contentSkip to conversation

ColdFire: Remove compiler warning messages

PATCH New TsiChung Liew 1 participant 1 message Jul 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ColdFire: Remove compiler warning messages

Remove unused variables and printf type mismatch in lib_m68k/board.c

---
 lib_m68k/board.c |   2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib_m68k/board.c +1 -1
index db45b00..a570b15 100644
@@ -532,7 +528,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
 		 */
 		s = getenv ("flashchecksum");
 		if (s && (*s == 'y')) {
-			printf ("  CRC: %08lX",
+			printf ("  CRC: %08X",
 					crc32 (0,
 						   (const unsigned char *) CONFIG_SYS_FLASH_BASE,
 						   flash_size)
Signature · 1 line
1.5.6.4