diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-04 06:51:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-04 06:51:46 +0000 |
commit | 98a1d5e72a7a9188607107b07f203651818c1ffc (patch) | |
tree | e36137e6163c56aea817bb4ecb9346cad903b8e0 /src | |
parent | 985cf06296f0a9861fe68b88db4aa4f4fc1abf58 (diff) | |
download | coreutils-98a1d5e72a7a9188607107b07f203651818c1ffc.tar.xz |
(show_point) [HAVE_REALPATH && !HAVE_RESOLVEPATH]:
Cast undeclared `realpath' to char* to avoid warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -576,7 +576,7 @@ show_point (const char *point, const struct stat *statp) } # else resolved = alloca (PATH_MAX + 1); - resolved = realpath (abspoint, resolved); + resolved = (char *) realpath (abspoint, resolved); resolved_len = resolved ? strlen (resolved) : -1; # endif |