raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9cf57e111b66fe8c4e0834cfcd08fc7d6d3b503a

commit 9cf57e111b66fe8c4e0834cfcd08fc7d6d3b503a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Mar 25 07:14:08 2015 +0900

    elm - fix warnings after patches to datetime
---
 src/lib/elm_datetime.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c
index dd1826c..f1c9f0c 100644
--- a/src/lib/elm_datetime.c
+++ b/src/lib/elm_datetime.c
@@ -582,13 +582,13 @@ _max_days_get(int year,
 }
 
 static Eina_Bool
-_date_cmp(struct tm *time1,
-          struct tm *time2)
+_date_cmp(const struct tm *time1,
+          const struct tm *time2)
 {
    unsigned int idx;
 
-   DATETIME_TM_ARRAY(timearr1, time1);
-   DATETIME_TM_ARRAY(timearr2, time2);
+   const DATETIME_TM_ARRAY(timearr1, time1);
+   const DATETIME_TM_ARRAY(timearr2, time2);
 
    for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT; idx++)
      {

-- 


Reply via email to