summaryrefslogtreecommitdiff
path: root/src/code/load.c
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2022-06-16 02:15:44 +0200
committerGitHub <noreply@github.com>2022-06-15 20:15:44 -0400
commit08c8126ba55c11b8774721dedec3a5d8993503cd (patch)
treeb19dace8340a2eba1c61f07209462e57565b8fe3 /src/code/load.c
parent5299208291dc3032954b8b2242be2be9c7b6c7c0 (diff)
Enable int-conversion warnings and fix all current instances (#1280)
* Enable int-conversion warnings for gcc/clang * Fix all current int-conversion warnings * Run format.sh * Apply review suggestions
Diffstat (limited to 'src/code/load.c')
-rw-r--r--src/code/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/load.c b/src/code/load.c
index 946f52dc3..a629a16f5 100644
--- a/src/code/load.c
+++ b/src/code/load.c
@@ -41,7 +41,7 @@ s32 Overlay_Load(uintptr_t vRomStart, uintptr_t vRomEnd, void* vRamStart, void*
// "Clear BSS area (% 08x-% 08x)"
osSyncPrintf("BSS領域をクリアします(%08x-%08x)\n", end, end + ovl->bssSize);
}
- bzero(end, ovl->bssSize);
+ bzero((void*)end, ovl->bssSize);
}
size = (uintptr_t)&ovl->relocations[ovl->nRelocations] - (uintptr_t)ovl;