quiet down some build warnings with Qt under OSX clang++

This commit is contained in:
nhmall
2020-07-17 18:37:07 -04:00
parent 84b598e489
commit f6b4306ce6
16 changed files with 55 additions and 50 deletions

View File

@@ -184,7 +184,7 @@ char NetHackQtYnDialog::Exec()
show();
char choice=0;
char ch_esc=0;
for (uint i=0; i<ch.length(); i++) {
for (uint i=0; i< (uint) ch.length(); i++) {
if (ch[i].unicode()=='q') ch_esc='q';
else if (!ch_esc && ch[i].unicode()=='n') ch_esc='n';
}