summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2021-10-11 22:16:43 +0200
committerGitHub <noreply@github.com>2021-10-11 16:16:43 -0400
commited487b4bb849b027481c2d52b06aa5bec9d44f2c (patch)
tree05b81757b82ec8317278a05008413f0503c812fa /src/code
parenta6554b4f846beed906641e2ee3eb82e20283b935 (diff)
Fix a few warnings (#998)
* Fix some warnings * Revert warning fixes in audio code
Diffstat (limited to 'src/code')
-rw-r--r--src/code/code_800BB0A0.c2
-rw-r--r--src/code/z_sram.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/code/code_800BB0A0.c b/src/code/code_800BB0A0.c
index 1c9223107..0f2ee7d74 100644
--- a/src/code/code_800BB0A0.c
+++ b/src/code/code_800BB0A0.c
@@ -45,7 +45,7 @@ s32 func_800BB2B4(Vec3f* pos, f32* roll, f32* fov, CutsceneCameraPoint* point, s
pointData[i][4] = point[key + i].viewAngle;
}
- func_800BB0A0(progress, pos, roll, fov, &pointData[0], &pointData[1], &pointData[2], &pointData[3]);
+ func_800BB0A0(progress, pos, roll, fov, pointData[0], pointData[1], pointData[2], pointData[3]);
if (point[*keyFrame + 1].nextPointFrame != 0) {
speed1 = 1.0f / point[*keyFrame + 1].nextPointFrame;
diff --git a/src/code/z_sram.c b/src/code/z_sram.c
index 44287017b..195da41b5 100644
--- a/src/code/z_sram.c
+++ b/src/code/z_sram.c
@@ -383,7 +383,7 @@ void Sram_OpenSave(SramContext* sramCtx) {
MemCopy(gScarecrowCustomSongPtr, &gSaveContext.scarecrowCustomSong, 0x360);
- ptr = gScarecrowCustomSongPtr;
+ ptr = (u8*)gScarecrowCustomSongPtr;
for (i = 0; i < 0x360; i++, ptr++) {
osSyncPrintf("%d, ", *ptr);
}