summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-26 20:42:02 +0000
committerJim Meyering <jim@meyering.net>1998-07-26 20:42:02 +0000
commitd71367f33e4099e3b8ce7649f131f8df69722286 (patch)
tree44a58293161f2345371b155329b33d70a29c27b8 /src/fmt.c
parentbd85887dafbfb2bf5d64ee9e47d33cf6e8accc3f (diff)
downloadcoreutils-d71367f33e4099e3b8ce7649f131f8df69722286.tar.gz
coreutils-d71367f33e4099e3b8ce7649f131f8df69722286.tar.bz2
coreutils-d71367f33e4099e3b8ce7649f131f8df69722286.zip
(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.c b/src/fmt.c
index abad56e37..009abd13b 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -708,7 +708,7 @@ check_punctuation (register WORD *w)
{
const unsigned char *start, *finish;
- start = w->text;
+ start = (unsigned char *) w->text;
finish = start + (w->length - 1);
w->paren = isopen (*start);
w->punct = ISPUNCT (*finish);