diff options
author | stefanf <stefanf@FreeBSD.org> | 2006-07-18 07:29:42 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2006-07-18 07:29:42 +0000 |
commit | b75bbd4bdfa592738bea78a11658e76a61172d69 (patch) | |
tree | 0c973a2570d911f4e94f7c811ac174bc44a5a4a8 /usr.bin/ctags | |
parent | ba64bc870aa708a07bfd73f22e8cd6c821331077 (diff) | |
download | FreeBSD-src-b75bbd4bdfa592738bea78a11658e76a61172d69.zip FreeBSD-src-b75bbd4bdfa592738bea78a11658e76a61172d69.tar.gz |
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.
Diffstat (limited to 'usr.bin/ctags')
-rw-r--r-- | usr.bin/ctags/ctags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c index 2d9e3f3..eda4145 100644 --- a/usr.bin/ctags/ctags.c +++ b/usr.bin/ctags/ctags.c @@ -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; |