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:
parent
ae66acac87
commit
cd1de708cd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user