summaryrefslogtreecommitdiff
path: root/mm/src/code
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-01-10 07:27:03 -0500
committerGarrett Cox <garrettjcox@gmail.com>2024-05-22 09:04:57 -0500
commit5eacc7e6a808afc9a41c8bd07c1adaadaa2e33d5 (patch)
treef3c7f31e5bf881264e9b223bddc18ef2c2e89aed /mm/src/code
parentc903b31fa696bf2426bee91690fa3ed054e31a1e (diff)
fix segment pointer truncation (#15)
Diffstat (limited to 'mm/src/code')
-rw-r--r--mm/src/code/z_actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/src/code/z_actor.c b/mm/src/code/z_actor.c
index ae975af4a..b9b3adefb 100644
--- a/mm/src/code/z_actor.c
+++ b/mm/src/code/z_actor.c
@@ -3385,7 +3385,7 @@ Actor* Actor_SpawnAsChildAndCutscene(ActorContext* actorCtx, PlayState* play, s1
Actor_AddToCategory(actorCtx, actor, actorInit->type);
{
- u32 sp20 = gSegments[6];
+ uintptr_t sp20 = gSegments[6];
Actor_Init(actor, play);
gSegments[6] = sp20;