From: seoz Date: Wed, 28 Mar 2012 00:52:05 +0000 (+0000) Subject: elm calendar_example_06.c: Fixed tm structure initialization. By the X-Git-Tag: sbs/armel/slp2-target~36^2~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=192cbc20d0ae952d11060c3b81bef4a039b13954;p=framework%2Fuifw%2Felementary.git elm calendar_example_06.c: Fixed tm structure initialization. By the way, is this correct? I had build warnings before. 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 --- 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;