Squasgh -Wextra warnings.

This commit is contained in:
Eric S. Raymond 2017-06-15 19:39:43 -04:00
parent 2182dc23ff
commit eaee02aa09
5 changed files with 8 additions and 8 deletions

View file

@ -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;