From 5eacc7e6a808afc9a41c8bd07c1adaadaa2e33d5 Mon Sep 17 00:00:00 2001 From: Archez Date: Wed, 10 Jan 2024 07:27:03 -0500 Subject: [PATCH] fix segment pointer truncation (#15) --- mm/src/code/z_actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;