]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/forty/scorefil.cpp
Applied patch for multiple file selection, documented.
[wxWidgets.git] / 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));
        }
 }