summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tee.c b/src/tee.c
index e9407e800..b453c2bf2 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -143,7 +143,7 @@ main (argc, argv)
#endif /* _POSIX_VERSION */
}
- errs = tee (argc - optind, &argv[optind]);
+ errs = tee (argc - optind, (const char **) &argv[optind]);
if (close (0) != 0)
error (1, errno, "standard input");
if (close (1) != 0)
@@ -158,7 +158,7 @@ main (argc, argv)
static int
tee (nfiles, files)
int nfiles;
- char **files;
+ const char **files;
{
int *descriptors;
char buffer[BUFSIZ];