From 77ddac9480d63a80b6bb76d7ee4dcc2d1070867e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 13 Oct 2005 16:45:02 +0200 Subject: Cleanup for GCC-4.x --- board/icu862/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/icu862/flash.c') diff --git a/board/icu862/flash.c b/board/icu862/flash.c index 6315bd95b..ca5bcf31a 100644 --- a/board/icu862/flash.c +++ b/board/icu862/flash.c @@ -251,7 +251,7 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) value = addr[1]; /* device ID */ - switch (value) { + switch ((unsigned long)value) { case AMD_ID_F040B: info->flash_id += FLASH_AM040; info->sector_count = 8; -- cgit v1.2.3-70-g09d2