From a41fdf331af344ecd3ec230a072857ea197e1890 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 22:51:00 +0000 Subject: preparatory patch for -Wwrite-strings #1 --- coreutils/du.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/du.c') diff --git a/coreutils/du.c b/coreutils/du.c index a1ca5b59b..a4b3c817e 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -222,7 +222,7 @@ int du_main(int argc, char **argv) /* go through remaining args (if any) */ argv += optind; if (optind >= argc) { - *--argv = "."; + *--argv = (char*)"."; if (slink_depth == 1) { slink_depth = 0; } -- cgit v1.2.3-55-g6feb