summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-25 07:14:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-25 07:14:08 +0900
commit9cf57e111b66fe8c4e0834cfcd08fc7d6d3b503a (patch)
tree9fbfbeae85415869f1b17d937d7238c1f97301fe
parent40ff4a11fccb4d4e5dc78ee5eb171c693c53cd31 (diff)
elm - fix warnings after patches to datetime
-rw-r--r--src/lib/elm_datetime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c
index dd1826c63..f1c9f0ccf 100644
--- a/src/lib/elm_datetime.c
+++ b/src/lib/elm_datetime.c
@@ -582,13 +582,13 @@ _max_days_get(int year,
582} 582}
583 583
584static Eina_Bool 584static Eina_Bool
585_date_cmp(struct tm *time1, 585_date_cmp(const struct tm *time1,
586 struct tm *time2) 586 const struct tm *time2)
587{ 587{
588 unsigned int idx; 588 unsigned int idx;
589 589
590 DATETIME_TM_ARRAY(timearr1, time1); 590 const DATETIME_TM_ARRAY(timearr1, time1);
591 DATETIME_TM_ARRAY(timearr2, time2); 591 const DATETIME_TM_ARRAY(timearr2, time2);
592 592
593 for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT; idx++) 593 for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT; idx++)
594 { 594 {