diff --git a/FeLib/Source/hscore.cpp b/FeLib/Source/hscore.cpp index f0b6c3a60..bf6e1c363 100644 --- a/FeLib/Source/hscore.cpp +++ b/FeLib/Source/hscore.cpp @@ -103,7 +103,7 @@ void highscore::Save(cfestring& File) const { outputfile HighScore(File.IsEmpty() ? DefaultFile : File); long CheckSum = HIGH_SCORE_VERSION + LastAdd; - for(ushort c = 0; c < Score.size(); ++c) + for(size_t c = 0; c < Score.size(); ++c) { CheckSum += Score[c] + Entry[c].GetCheckSum() + RandomID[c]; }