summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/df.c b/src/df.c
index e3a074362..f5ca9016e 100644
--- a/src/df.c
+++ b/src/df.c
@@ -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