General tidy-up (mainly typecasts) to allow the use of the SGI native
compilers (tested on Irix 6.5 with -mips3 -n32). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,10 +149,10 @@ void ScoreFile::ReadPlayersScore(
|
||||
|
||||
m_config->SetPath("/Players");
|
||||
m_config->SetPath(player);
|
||||
if (m_config->Read(&myScore, "Score") &&
|
||||
m_config->Read(&myGames, "Games") &&
|
||||
m_config->Read(&myWins, "Wins") &&
|
||||
m_config->Read(&check, "Check"))
|
||||
if (m_config->Read(&myScore, (const char *) "Score",0L) &&
|
||||
m_config->Read(&myGames, (const char *) "Games",0L) &&
|
||||
m_config->Read(&myWins, (const char *) "Wins",0L) &&
|
||||
m_config->Read(&check, (const char *) "Check",0L))
|
||||
{
|
||||
if (check != CalcCheck(player, myGames, myWins, myScore))
|
||||
{
|
||||
|
Reference in New Issue
Block a user