X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=score.c;h=9b3f8f3ea17ee71a1ecd05daf93d28896463fef0;hp=ba7d98b7518ddbac1a4513f43726bfadf14f280f;hb=e8a627f964a8337caf0c71dd87b1d7533f489f57;hpb=609159ad6d62af90cdbf97cbb09fffabde87a026 diff --git a/score.c b/score.c index ba7d98b..9b3f8f3 100644 --- a/score.c +++ b/score.c @@ -120,7 +120,7 @@ void terminate(enum termination mode) if (points + game.saved + 1 >= mxscor && game.saved != 0) rspeak(WITHOUT_SUSPENDS); rspeak(TOTAL_SCORE, points, mxscor, game.turns, game.turns); - for (long i = 1; i <= (long)NCLASSES; i++) { + for (int i = 1; i <= (long)NCLASSES; i++) { if (classes[i].threshold >= points) { speak(classes[i].message); i = classes[i].threshold + 1 - points;