mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-05 23:32:26 -04:00
(cat): Cast first arg to stpcpy to char*.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user