summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 714a577..3e008f1 100644
--- a/src/common.c
+++ b/src/common.c
@@ -223,7 +223,7 @@ char* strip_dup(char* str)
int date_dos2unix(const unsigned short f_time, const unsigned short f_date)
{
- static int day_n[] = { 0,31,59,90,120,151,181,212,243,273,304,334,0,0,0,0 };
+ static const int day_n[] = { 0,31,59,90,120,151,181,212,243,273,304,334,0,0,0,0 };
/* JanFebMarApr May Jun Jul Aug Sep Oct Nov Dec */
int month,year,secs;