diff options
author | PokeCodec <doremylover456@gmail.com> | 2020-07-27 12:47:08 -0400 |
---|---|---|
committer | PokeCodec <doremylover456@gmail.com> | 2020-07-28 15:22:15 -0400 |
commit | c722b7755808e0ee34b84087f3a31a28bf685cad (patch) | |
tree | cba6088378e7292f8c92d181514e008fbe9caf2c /src/agb_flash.c | |
parent | ebcb982e16a0fd6b22185d159234495c44a15874 (diff) |
holding back on casts
Diffstat (limited to 'src/agb_flash.c')
-rw-r--r-- | src/agb_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agb_flash.c b/src/agb_flash.c index 0045219c4..eeccf1116 100644 --- a/src/agb_flash.c +++ b/src/agb_flash.c @@ -242,7 +242,7 @@ u32 VerifyFlashSectorNBytes(u16 sectorNum, u8 *src, u32 n) funcSrc = (u16 *)((uintptr_t)funcSrc ^ 1); funcDest = verifyFlashSector_Core_Buffer; - i = (u16)(((uintptr_t)VerifyFlashSector - (uintptr_t)VerifyFlashSector_Core) >> 1); + i = ((uintptr_t)VerifyFlashSector - (uintptr_t)VerifyFlashSector_Core) >> 1; while (i != 0) { |