diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 03:38:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 03:38:35 +0000 |
commit | 702baeac5f802cd5a4d2caf5464d2853bd9e5632 (patch) | |
tree | 11a94a2a217eaa7732e811ca9efa3dcb0306904b /usr.bin/diff | |
parent | c40b6440ed441f569bb89ee27c1695ac0432547b (diff) |
avoid signed issues; tedu ok
Diffstat (limited to 'usr.bin/diff')
-rw-r--r-- | usr.bin/diff/diffreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index feede260423..c3f814e46f0 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.5 2003/06/25 03:37:32 deraadt Exp $ */ +/* $OpenBSD: diffreg.c,v 1.6 2003/06/25 03:38:34 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -143,7 +143,7 @@ int clen = 0; int *J; /* will be overlaid on class */ long *ixold; /* will be overlaid on klist */ long *ixnew; /* will be overlaid on file[1] */ -char *chrtran; /* translation table for case-folding */ +u_char *chrtran; /* translation table for case-folding */ static void fetch(long *, int, int, FILE *, char *, int); static void output(void); @@ -168,7 +168,7 @@ static int readhash(FILE *); * chrtran points to one of 2 translation tables: cup2low if folding upper to * lower case clow2low if not folding case */ -char clow2low[256] = { +u_char clow2low[256] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, @@ -195,7 +195,7 @@ char clow2low[256] = { 0xfd, 0xfe, 0xff }; -char cup2low[256] = { +u_char cup2low[256] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, |