Fixed sign/unsigned comparisions.

This commit is contained in:
Bart House
2019-07-12 18:37:33 -07:00
parent 0ca299acb3
commit 0e8e5aac93
2 changed files with 3 additions and 3 deletions

View File

@@ -259,7 +259,7 @@ register const char *bp;
&& cw->cury == 0
&& n0 + (int) strlen(toplines) + 3 < CO - 8 /* room for --More-- */
&& (notdied = strncmp(bp, "You die", 7)) != 0) {
nhassert(strlen(toplines) == cw->curx);
nhassert((long) strlen(toplines) == cw->curx);
Strcat(toplines, " ");
Strcat(toplines, bp);
cw->curx += 2;