From 3d74506f216067002e57098310809b4f948d828d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 24 Sep 1994 16:17:54 +0000 Subject: (main, tee): More const dcls and casting. --- src/tee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tee.c') 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]; -- cgit v1.2.3-70-g09d2