]> git.saurik.com Git - wxWidgets.git/commitdiff
wxConfig() ambiguity resolved
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jan 1999 13:12:09 +0000 (13:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jan 1999 13:12:09 +0000 (13:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/forty/scorefil.cpp

index d066ec8a90841289a7c6ffaf1a9c1fcdb19d1103..348be7cfe75b3e92a1a419072c3707c9858f46ba 100644 (file)
@@ -175,9 +175,9 @@ void ScoreFile::WritePlayersScore(const char* player, int wins, int games, int s
 
                m_config->SetPath("/Players");
                m_config->SetPath(player);
-               m_config->Write("Score", score);
-               m_config->Write("Games", games);
-               m_config->Write("Wins", wins);
+               m_config->Write("Score", (long)score);
+               m_config->Write("Games", (long)games);
+               m_config->Write("Wins", (long)wins);
                m_config->Write("Check", CalcCheck(player, games, wins, score));
        }
 }