Skip to content

Commit

Permalink
fix warnings in MSVC8
Browse files Browse the repository at this point in the history
  • Loading branch information
richard42 committed Mar 7, 2012
1 parent 8bb50ab commit e429ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,15 @@ int main_set_core_defaults(void)
}
else if ((CONFIG_PARAM_VERSION - fConfigParamsVersion) >= 0.0001f)
{
float fVersion = CONFIG_PARAM_VERSION;
float fVersion = (float) CONFIG_PARAM_VERSION;
ConfigSetParameter(g_CoreConfig, "Version", M64TYPE_FLOAT, &fVersion);
DebugMessage(M64MSG_INFO, "Updating parameter set version in 'Core' config section to %.2f", fVersion);
bUpgrade = 1;
bSaveConfig = 1;
}

/* parameters controlling the operation of the core */
ConfigSetDefaultFloat(g_CoreConfig, "Version", CONFIG_PARAM_VERSION, "Mupen64Plus Core config parameter set version number. Please don't change");
ConfigSetDefaultFloat(g_CoreConfig, "Version", (float) CONFIG_PARAM_VERSION, "Mupen64Plus Core config parameter set version number. Please don't change");
ConfigSetDefaultBool(g_CoreConfig, "OnScreenDisplay", 1, "Draw on-screen display if True, otherwise don't draw OSD");
#if defined(DYNAREC)
ConfigSetDefaultInt(g_CoreConfig, "R4300Emulator", 2, "Use Pure Interpreter if 0, Cached Interpreter if 1, or Dynamic Recompiler if 2 or more");
Expand Down

0 comments on commit e429ff4

Please sign in to comment.