From 75536522302857152f746243016f76b7e6f98d68 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo 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=UTF-8 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 SVN revision: 69681 --- legacy/elementary/src/examples/calendar_example_06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/examples/calendar_example_06.c b/legacy/elementary/src/examples/calendar_example_06.c index 1cd5a855b0..dce81d44ad 100644 --- a/legacy/elementary/src/examples/calendar_example_06.c +++ b/legacy/elementary/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;