From 0f5a8855b61a779d7234b7c66c3a329e658cf805 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 13 Dec 2021 00:30:13 -0500 Subject: [PATCH] kill compiler warning on unsigned char platforms --- src/man/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/man/main.c b/src/man/main.c index 1671b52a8..575a9cd11 100644 --- a/src/man/main.c +++ b/src/man/main.c @@ -261,7 +261,7 @@ trofftrie(void){ } struct troffnode* n = root; for(const char* s = t->symbol ; *s ; ++s){ - if(*s < 0){ // illegal symbol + if(*s <= 0){ // illegal symbol fprintf(stderr, "illegal symbol: %s\n", t->symbol); goto err; }