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:
parent
75843be9c4
commit
804bf0bfcf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue