summaryrefslogtreecommitdiff
path: root/src/slot_machine.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-28 17:46:17 -0400
committerGitHub <noreply@github.com>2020-07-28 17:46:17 -0400
commite06de33cbdab8ca853bcdd1b4c8909a61aabfcef (patch)
treed8fc5465a98e738792297ab08ba7216b18696fec /src/slot_machine.c
parent4a42e2a710ee550c88a56e48f436b88279337eea (diff)
parent96b904bf808805daa3de09080e10cc92e24c1f8e (diff)
Merge branch 'master' into doc-overworld
Diffstat (limited to 'src/slot_machine.c')
-rw-r--r--src/slot_machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slot_machine.c b/src/slot_machine.c
index d1cb05b18..6557e8cf4 100644
--- a/src/slot_machine.c
+++ b/src/slot_machine.c
@@ -775,7 +775,7 @@ static void PlaySlotMachine_Internal(u8 slotMachineIndex, MainCallback cb)
{
struct Task *task = &gTasks[CreateTask(SlotMachineDummyTask, 0xFF)];
task->data[0] = slotMachineIndex;
- StoreWordInTwoHalfwords(task->data + 1, (intptr_t)cb);
+ StoreWordInTwoHalfwords((u16 *)(task->data + 1), (intptr_t)cb);
}