Skip to content

Commit

Permalink
Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Michelleeby committed Feb 10, 2023
1 parent 7f87ac5 commit a70c35b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/daynight.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct PaletteOverride
u8 slot;
u8 startHour;
u8 endHour;
void *palette;
const void *palette;
};

extern EWRAM_DATA u16 gPlttBufferPreDN[];
Expand Down
4 changes: 2 additions & 2 deletions src/data/tilesets/overrides.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const struct PaletteOverride gTilesetPalOverrides_General[] =
struct PaletteOverride gTilesetPalOverrides_General[] =
{
{
.slot = 1,
Expand All @@ -20,7 +20,7 @@ const struct PaletteOverride gTilesetPalOverrides_General[] =
},
};

const struct PaletteOverride gTilesetPalOverrides_Petalburg[] =
struct PaletteOverride gTilesetPalOverrides_Petalburg[] =
{
{
.slot = 6,
Expand Down
2 changes: 2 additions & 0 deletions src/wild_encounter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "wild_encounter.h"
#include "pokemon.h"
#include "metatile_behavior.h"
#include "daynight.h"
#include "fieldmap.h"
#include "random.h"
#include "field_player_avatar.h"
Expand All @@ -11,6 +12,7 @@
#include "pokeblock.h"
#include "battle_setup.h"
#include "roamer.h"
#include "rtc.h"
#include "tv.h"
#include "link.h"
#include "script.h"
Expand Down

0 comments on commit a70c35b

Please sign in to comment.