kill compiler warning on unsigned char platforms

pull/2468/head
nick black 3 years ago
parent 31b328c688
commit 0f5a8855b6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

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

Loading…
Cancel
Save