Change cast of cflash_read from unsigned long to u32 since it's what _MMU_ARM9_read32 is supposed to return.

This commit is contained in:
riccardom 2009-04-11 15:14:18 +00:00
parent 75843be9c4
commit 804bf0bfcf
1 changed files with 2 additions and 2 deletions

View File

@ -3159,7 +3159,7 @@ u32 FASTCALL _MMU_ARM9_read32(u32 adr)
#else
// CFlash reading, Mic
if ((adr>=0x9000000) && (adr<0x9900000))
return (unsigned long)cflash_read(adr);
return (u32)cflash_read(adr);
#endif
adr &= 0x0FFFFFFF;
@ -4208,7 +4208,7 @@ u32 FASTCALL _MMU_ARM7_read32(u32 adr)
#else
// CFlash reading, Mic
if ((adr>=0x9000000)&&(adr<0x9900000))
return (unsigned long)cflash_read(adr);
return (u32)cflash_read(adr);
#endif
adr &= 0x0FFFFFFF;