diff options
author | Jim Meyering <jim@meyering.net> | 1994-09-24 16:28:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-09-24 16:28:52 +0000 |
commit | 67c493ed67506f499f0b987d4fbfb1c177310629 (patch) | |
tree | e961c7a3782d3a4d2c44151c294814d89de65266 | |
parent | bfb7a14ab7e239b218dd4f3b31a7fd05fd0ab989 (diff) | |
download | coreutils-67c493ed67506f499f0b987d4fbfb1c177310629.tar.xz |
(main): Cast string literal to (char*).
-rw-r--r-- | src/dirname.c | 2 |
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. */ |