diff options
author | Jim Meyering <jim@meyering.net> | 1996-08-24 19:28:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-08-24 19:28:27 +0000 |
commit | 41e757beb6da0467ba4970cbcf57e2d1840536bf (patch) | |
tree | bb3ba3e9b87dea26efff1be722292a026466a1e5 /src | |
parent | efe35c166d747a0902d7db799605deaf7f665729 (diff) | |
download | coreutils-41e757beb6da0467ba4970cbcf57e2d1840536bf.tar.xz |
(cat): Cast first arg to stpcpy to char*.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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. */ |