Change signedness and add casts to avoid implicit conversion warnings

This commit is contained in:
PokeCodec
2020-07-19 15:57:20 -04:00
parent 69a04f88f4
commit c5aa91741b
22 changed files with 99 additions and 112 deletions
+1 -1
View File
@@ -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);
}