summaryrefslogtreecommitdiff
path: root/src/fr-command-rpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-rpm.c')
-rw-r--r--src/fr-command-rpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c
index bb14562..d4aff5e 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.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;