summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-18 07:29:42 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-18 07:29:42 +0000
commitb75bbd4bdfa592738bea78a11658e76a61172d69 (patch)
tree0c973a2570d911f4e94f7c811ac174bc44a5a4a8 /usr.bin
parentba64bc870aa708a07bfd73f22e8cd6c821331077 (diff)
downloadFreeBSD-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')
-rw-r--r--usr.bin/ctags/ctags.c2
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;
OpenPOWER on IntegriCloud