Fix type mismatch between char * and unsigned char *. C guarantees that

the values of the characters here are positive, so it's safe to index arrays
with them.
This commit is contained in:
Stefan Farfeleder 2006-07-18 07:29:42 +00:00
parent ae66acac87
commit cd1de708cd

View File

@ -244,7 +244,7 @@ void
init(void)
{
int i;
const unsigned char *sp;
const char *sp;
for (i = 0; i < 256; i++) {
_wht[i] = _etk[i] = _itk[i] = _btk[i] = NO;