summaryrefslogtreecommitdiff
path: root/src/fr-command-cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-cpio.c')
-rw-r--r--src/fr-command-cpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-command-cpio.c b/src/fr-command-cpio.c
index 35a739d..19a3ed1 100644
--- a/src/fr-command-cpio.c
+++ b/src/fr-command-cpio.c
@@ -49,9 +49,9 @@ mktime_from_string (char *month,
char *mday,
char *year)
{
- static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
- "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
- struct tm tm = {0, };
+ static const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
+ struct tm tm = {0, };
tm.tm_isdst = -1;