Fix gcc build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7393 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-03-22 09:40:47 +00:00
parent f8620fcd0b
commit 27f9faf7e6
3 changed files with 3 additions and 18 deletions

View File

@ -118,7 +118,7 @@ void VideoConfig::Load(const char *main_ini_file, bool filecheck_passed, const c
iniFile.Get("Hardware", "Adapter", &iAdapter, 0);
if (iAdapter == -1)
iAdapter = 0;
SET_STATE(true, iAdapter);
SET_STATE((void)true, iAdapter);
// Load common settings
iniFile.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));