From 41e757beb6da0467ba4970cbcf57e2d1840536bf Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sat, 24 Aug 1996 19:28:27 +0000
Subject: (cat): Cast first arg to stpcpy to char*.

---
 src/cat.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/cat.c b/src/cat.c
index bafd8513f..f3124db43 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -347,7 +347,8 @@ cat (
 		  if (numbers && numbers_at_empty_lines)
 		    {
 		      next_line_num ();
-		      bpout = (unsigned char *) stpcpy (bpout, line_num_print);
+		      bpout = (unsigned char *) stpcpy ((char *) bpout,
+							line_num_print);
 		    }
 		}
 
@@ -369,7 +370,7 @@ cat (
       if (newlines >= 0 && numbers)
 	{
 	  next_line_num ();
-	  bpout = (unsigned char *) stpcpy (bpout, line_num_print);
+	  bpout = (unsigned char *) stpcpy ((char *) bpout, line_num_print);
 	}
 
       /* Here CH cannot contain a newline character.  */
-- 
cgit v1.2.3-70-g09d2