Squasgh -Wextra warnings.
[open-adventure.git] / score.c
diff --git a/score.c b/score.c
index a9ab765aed73e90261230c6f08f1a5e12ad853eb..594b637578d1270822c9b183218efaeba26ab2e3 100644 (file)
--- a/score.c
+++ b/score.c
@@ -110,7 +110,7 @@ void score(enum termination mode)
     SETPRM(1,score,mxscor);
     SETPRM(3,game.turns,game.turns);
     RSPEAK(TOTAL_SCORE);
-    for (long i=1; i<=CLSSES; i++) {
+    for (long i=1; i<=(long)CLSSES; i++) {
        if(CVAL[i] >= score) {
            newspeak(class_messages[i]);
            i=CVAL[i]+1-score;