summaryrefslogtreecommitdiff
path: root/tbl/tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl/tc.c')
-rw-r--r--tbl/tc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl/tc.c b/tbl/tc.c
index 02a91f733dbc..a67a15dc71bd 100644
--- a/tbl/tc.c
+++ b/tbl/tc.c
@@ -29,7 +29,7 @@ int
choochar(void) {
/* choose funny characters to delimit fields */
int had[128], ilin, icol, k;
- char *s;
+ const char *s;
for(icol=0; icol<128; icol++)
had[icol]=0;
F1 = F2 = 0;
@@ -43,7 +43,7 @@ choochar(void) {
s = table[ilin][icol].col;
if (point((intptr_t)s))
while (*s) {
- if (*s > 0 && *(unsigned char *)s <= 127)
+ if (*s > 0 && *(unsigned const char *)s <= 127)
had[(int)*s++]=1;
else
s++;
@@ -51,7 +51,7 @@ choochar(void) {
s=table[ilin][icol].rcol;
if (point((intptr_t)s))
while (*s) {
- if (*s > 0 && *(unsigned char *)s <= 127)
+ if (*s > 0 && *(unsigned const char *)s <= 127)
had[(int)*s++]=1;
else
s++;