diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-13 18:45:02 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-13 18:45:02 +0400 |
commit | 77ddac9480d63a80b6bb76d7ee4dcc2d1070867e (patch) | |
tree | e9563b2f28ea59062b90bb5712f141e8e9798aee /board/pcippc2 | |
parent | 17a8b276ba2b3499b75cd60b0b5289dbbea7967b (diff) | |
download | u-boot-77ddac9480d63a80b6bb76d7ee4dcc2d1070867e.tar.xz |
Cleanup for GCC-4.x
Diffstat (limited to 'board/pcippc2')
-rw-r--r-- | board/pcippc2/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pcippc2/flash.c b/board/pcippc2/flash.c index 6e9e3395c1..8c01415fae 100644 --- a/board/pcippc2/flash.c +++ b/board/pcippc2/flash.c @@ -136,7 +136,7 @@ static ulong flash_get_size (ulong addr, flash_info_t *info) DEBUGF("Device ID @ 0x%08lx: 0x%08x\n", addr+1, value); - switch (value) { + switch ((ulong)value) { case AMD_ID_F040B: DEBUGF("Am29F040B\n"); info->flash_id += FLASH_AM040; |