X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1824493628261b2cb7ceceb431d85c427f1c976b..36f210c81e5f8cdc65b80e57aad0c11bf2d08e63:/samples/forty/scorefil.cpp diff --git a/samples/forty/scorefil.cpp b/samples/forty/scorefil.cpp index d066ec8a90..348be7cfe7 100644 --- a/samples/forty/scorefil.cpp +++ b/samples/forty/scorefil.cpp @@ -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)); } }