summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-09-24 16:28:52 +0000
committerJim Meyering <jim@meyering.net>1994-09-24 16:28:52 +0000
commit67c493ed67506f499f0b987d4fbfb1c177310629 (patch)
treee961c7a3782d3a4d2c44151c294814d89de65266
parentbfb7a14ab7e239b218dd4f3b31a7fd05fd0ab989 (diff)
downloadcoreutils-67c493ed67506f499f0b987d4fbfb1c177310629.tar.xz
(main): Cast string literal to (char*).
-rw-r--r--src/dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirname.c b/src/dirname.c
index 074b3ce36..09b55464f 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -83,7 +83,7 @@ main (argc, argv)
slash = rindex (path, '/');
if (slash == NULL)
- path = ".";
+ path = (char *) ".";
else
{
/* Remove any trailing slashes and final element. */