X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=score.c;h=594b637578d1270822c9b183218efaeba26ab2e3;hb=d4fc7a88b4aac2f72013e7c681c907de09db349d;hp=a9ab765aed73e90261230c6f08f1a5e12ad853eb;hpb=0d5f9064c70eaef3fe51f0b30284fe4eb946d99b;p=open-adventure.git diff --git a/score.c b/score.c index a9ab765..594b637 100644 --- 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;