From 192cbc20d0ae952d11060c3b81bef4a039b13954 Mon Sep 17 00:00:00 2001 From: seoz Date: Wed, 28 Mar 2012 00:52:05 +0000 Subject: [PATCH] elm calendar_example_06.c: Fixed tm structure initialization. By the way, is this correct? I had build warnings before. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit menu_example_01.c: In function ‘_del_it’: menu_example_01.c:17:6: warning: assignment discards qualifiers from pointer target type git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/examples/calendar_example_06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/calendar_example_06.c b/src/examples/calendar_example_06.c index 1cd5a85..dce81d4 100644 --- a/src/examples/calendar_example_06.c +++ b/src/examples/calendar_example_06.c @@ -32,7 +32,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__) Elm_Calendar_Mark *mark; struct tm selected_time; time_t current_time; - struct tm sunday = {0, 0, 12, 7, 0, 0, 0, 0, -1 }; + struct tm sunday = { 0, 0, 12, 7, 0, 0, 0, 0, -1, 0, NULL }; /* tm {sec, min, hour, mday, mon, year, wday, yday, isdst } */ /* weekdays since Sunday, range 0 to 6 */ struct tm christmas; -- 2.7.4