Skip to content

Commit

Permalink
gcc14 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed May 11, 2024
1 parent a0f8550 commit 27faaec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/camdraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ void func0f14bdbc(s32 index)
s32 value;

for (i = 0; i < 30; i++) {
thing->unk0dc[i] = NULL;
thing->unk0dc[i] = 0;
}

thing->unk094 = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/game/modeldata/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct modeldef g_PlayerModeldef = {
3,
41.161228179932,
0,
NULL,
0,
};

// rodata parent next prev child
Expand Down
1 change: 1 addition & 0 deletions src/game/mplayer/scenarios.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "game/mplayer/mplayer.h"
#include "game/pad.h"
#include "game/propobj.h"
#include "game/options.h"
#include "bss.h"
#include "lib/vi.h"
#include "lib/snd.h"
Expand Down
1 change: 1 addition & 0 deletions src/include/lib/str.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ s32 isalpha(char c);
s32 isspace(char c);
s32 strtol(const char *src, const char **endptr, s32 base);
#else
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#endif
Expand Down

0 comments on commit 27faaec

Please sign in to comment.