]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/pcippc2/flash.c
Cleanup for GCC-4.x
[karo-tx-uboot.git] / board / pcippc2 / flash.c
index 6e9e3395c1b22c9154c9afb62f95dfb862b5f2e4..8c01415faed614cae2e74daf075303a5361fc999 100644 (file)
@@ -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;