summaryrefslogtreecommitdiff
path: root/mcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcopy.c')
-rw-r--r--mcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcopy.c b/mcopy.c
index 6264af8..8145118 100644
--- a/mcopy.c
+++ b/mcopy.c
@@ -45,7 +45,7 @@ static void set_mtime(const char *target, time_t mtime)
tv[0].tv_usec = 0;
tv[1].tv_sec = mtime;
tv[1].tv_usec = 0;
- utimes((char *)target, tv);
+ utimes(target, tv);
#else
#ifdef HAVE_UTIME
struct utimbuf utbuf;