diff options
author | PokeCodec <doremylover456@gmail.com> | 2020-08-23 18:50:57 -0400 |
---|---|---|
committer | PokeCodec <doremylover456@gmail.com> | 2020-08-23 21:34:31 -0400 |
commit | 6aee7d38f3f3dcbfea7ce6d6d5ddecce740f9ee9 (patch) | |
tree | 2abc2cf2010194802b17ad021826b60f5f91d101 /src/union_room_chat.c | |
parent | d7e31f5a8558a5ae87f5da43469771ca32ca00d0 (diff) |
sizeOf data type, not pointer value
Diffstat (limited to 'src/union_room_chat.c')
-rwxr-xr-x | src/union_room_chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/union_room_chat.c b/src/union_room_chat.c index fd2a95791..a7df14dd7 100755 --- a/src/union_room_chat.c +++ b/src/union_room_chat.c @@ -2121,7 +2121,7 @@ static void Task_ReceiveChatMessage(u8 taskId) static bool8 TryAllocDisplay(void) { - sDisplay = Alloc(sizeof(*sDisplay)); + sDisplay = Alloc(sizeof(struct UnionRoomChatDisplay)); if (sDisplay && TryAllocSprites()) { ResetBgsAndClearDma3BusyFlags(0); |