diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-09-01 14:25:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 14:25:21 -0400 |
commit | 7c8bc0fbe3606f9dac1f84a9f3a25879cb984782 (patch) | |
tree | ba6d8050355cbe28e70f525b62256c0f776ea1d8 /src/pokemon_storage_system.c | |
parent | ff9204a5ff0789ee696ea1fb9273577df01b833c (diff) | |
parent | 5504ceada36bfdf840552e9238c81f11ed7c3581 (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.c | 4 |
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); |