diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2024-02-27 07:37:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 02:37:33 -0500 |
| commit | dcf61174e90725bea9aeeae9176fd377e0358188 (patch) | |
| tree | 742e8bc4819b23e2f7b2d87d9cc002532ccdc416 /src/code/gamealloc.c | |
| parent | a32221c36e955642d2da5a8314376dbf4c2e07c6 (diff) | |
Filename & line number args cleanup (#1891)
* Filename & line number args cleanup
* Use int for line number args over s32/u32
* Add missing const qualifiers from filename args
* Fix gcc warning in game.c
* Add comment to weird assignments in GameState_Init
Diffstat (limited to 'src/code/gamealloc.c')
| -rw-r--r-- | src/code/gamealloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/gamealloc.c b/src/code/gamealloc.c index c5e8e5243..b80ece7b2 100644 --- a/src/code/gamealloc.c +++ b/src/code/gamealloc.c @@ -13,7 +13,7 @@ void GameAlloc_Log(GameAlloc* this) { } #if OOT_DEBUG -void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, s32 line) { +void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, int line) { GameAllocEntry* ptr = SystemArena_MallocDebug(size + sizeof(GameAllocEntry), file, line); if (ptr != NULL) { |
