summaryrefslogtreecommitdiff
path: root/src/pokemon_storage_system.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-09-01 14:25:21 -0400
committerGitHub <noreply@github.com>2020-09-01 14:25:21 -0400
commit7c8bc0fbe3606f9dac1f84a9f3a25879cb984782 (patch)
treeba6d8050355cbe28e70f525b62256c0f776ea1d8 /src/pokemon_storage_system.c
parentff9204a5ff0789ee696ea1fb9273577df01b833c (diff)
parent5504ceada36bfdf840552e9238c81f11ed7c3581 (diff)
Merge pull request #1149 from PokeCodec/datatypes
gflib documenting
Diffstat (limited to 'src/pokemon_storage_system.c')
-rw-r--r--src/pokemon_storage_system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon_storage_system.c b/src/pokemon_storage_system.c
index 546f50dce..fcca744c2 100644
--- a/src/pokemon_storage_system.c
+++ b/src/pokemon_storage_system.c
@@ -2157,7 +2157,7 @@ static void Cb2_EnterPSS(u8 boxOption)
{
ResetTasks();
sCurrentBoxOption = boxOption;
- sPSSData = Alloc(sizeof(*sPSSData));
+ sPSSData = Alloc(sizeof(struct PokemonStorageSystemData));
if (sPSSData == NULL)
{
SetMainCallback2(Cb2_ExitPSS);
@@ -2177,7 +2177,7 @@ static void Cb2_EnterPSS(u8 boxOption)
static void Cb2_ReturnToPSS(void)
{
ResetTasks();
- sPSSData = Alloc(sizeof(*sPSSData));
+ sPSSData = Alloc(sizeof(struct PokemonStorageSystemData));
if (sPSSData == NULL)
{
SetMainCallback2(Cb2_ExitPSS);