mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
kill compiler warning on unsigned char platforms
This commit is contained in:
parent
31b328c688
commit
0f5a8855b6
@ -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…
Reference in New Issue
Block a user