summaryrefslogtreecommitdiff
path: root/src/union_room_chat.c
diff options
context:
space:
mode:
authorPokeCodec <doremylover456@gmail.com>2020-08-23 18:50:57 -0400
committerPokeCodec <doremylover456@gmail.com>2020-08-23 21:34:31 -0400
commit6aee7d38f3f3dcbfea7ce6d6d5ddecce740f9ee9 (patch)
tree2abc2cf2010194802b17ad021826b60f5f91d101 /src/union_room_chat.c
parentd7e31f5a8558a5ae87f5da43469771ca32ca00d0 (diff)
sizeOf data type, not pointer value
Diffstat (limited to 'src/union_room_chat.c')
-rwxr-xr-xsrc/union_room_chat.c2
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);