Convert int to uchar range for ctype
This commit is contained in:
parent
f905bd5001
commit
fe5fcbc78f
@ -51,6 +51,7 @@ vis(dst, c, flag, nextc)
|
||||
int c, nextc;
|
||||
register int flag;
|
||||
{
|
||||
c = (unsigned char)c;
|
||||
if (isgraph(c) ||
|
||||
((flag & VIS_SP) == 0 && c == ' ') ||
|
||||
((flag & VIS_TAB) == 0 && c == '\t') ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user