]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.
authorJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 20:42:02 +0000 (20:42 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 20:42:02 +0000 (20:42 +0000)
src/fmt.c

index abad56e37ff043730c79de9bc6efc3e3042dc0f5..009abd13b3bdeb57c900f25f8d0ccde943ffd0b4 100644 (file)
--- 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);