From: Vern Paxson Date: Mon, 15 Jan 1990 17:37:45 +0000 (+0000) Subject: Changes for unsigned/8-bit chars. X-Git-Tag: flex-2-5-5b~581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72aeeaa908d4da96aa5968133bde1d8e4dfdb574;p=flex Changes for unsigned/8-bit chars. 2.2 Release. --- diff --git a/ccl.c b/ccl.c index 4f36363..a051b94 100644 --- a/ccl.c +++ b/ccl.c @@ -41,13 +41,13 @@ static char rcsid[] = * * synopsis * int cclp; - * char ch; + * int ch; * ccladd( cclp, ch ); */ ccladd( cclp, ch ) int cclp; -char ch; +int ch; { int ind, len, newpos, i; @@ -154,7 +154,7 @@ int cset[]; putc( '[', file ); - for ( i = 1; i <= CSIZE; ++i ) + for ( i = 1; i <= csize; ++i ) { if ( cset[i] ) { @@ -164,7 +164,7 @@ int cset[]; fputs( readable_form( i ), file ); - while ( ++i <= CSIZE && cset[i] ) + while ( ++i <= csize && cset[i] ) ; if ( i - 1 > start_char )