Skip to content

Commit

Permalink
prevent out of bounds write
Browse files Browse the repository at this point in the history
  • Loading branch information
RSDuck committed Nov 17, 2021
1 parent d5b248b commit 3be26f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/frontend/qt_sdl/PlatformConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int DSiSDFolderSync;
char DSiSDFolderPath[1024];

int RandomizeMAC;
bool FirmwareOverrideSettings;
int FirmwareOverrideSettings;
char FirmwareUsername[64];
int FirmwareLanguage;
int FirmwareBirthdayMonth;
Expand Down Expand Up @@ -127,7 +127,7 @@ int MouseHideSeconds;

int PauseLostFocus;

bool EnableJIT;
int EnableJIT;

ConfigEntry PlatformConfigFile[] =
{
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/qt_sdl/PlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extern int DSiSDFolderSync;
extern char DSiSDFolderPath[1024];

extern int RandomizeMAC;
extern bool FirmwareOverrideSettings;
extern int FirmwareOverrideSettings;
extern char FirmwareUsername[64];
extern int FirmwareLanguage;
extern int FirmwareBirthdayMonth;
Expand Down

0 comments on commit 3be26f4

Please sign in to comment.