From c5beaa08eb57c542768eebfdf6532e72c5c0c16b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 23 Feb 2015 15:25:58 +0100 Subject: ls: heed compiler warning Signed-off-by: Denys Vlasenko --- coreutils/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/ls.c b/coreutils/ls.c index 3667583..14c8bea 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -566,7 +566,7 @@ static NOINLINE unsigned display_single(const struct dnode *dn) #if ENABLE_FEATURE_LS_TIMESTAMPS if (G.all_fmt & (LIST_FULLTIME|LIST_DATE_TIME)) { char *filetime; - time_t *ttime = &dn->dn_mtime; + const time_t *ttime = &dn->dn_mtime; if (G.all_fmt & TIME_ACCESS) ttime = &dn->dn_atime; if (G.all_fmt & TIME_CHANGE) -- cgit v1.1