summaryrefslogtreecommitdiff
path: root/src/examples/calendar_example_06.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:52:05 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:52:05 +0000
commit93a28db6b38a4a94d6332763dbe3b444554670da (patch)
treec7a7ad316cee08279359c677f0613a0f7e62fad0 /src/examples/calendar_example_06.c
parentafcf201fcabfe320340228356ad66dcf88007e17 (diff)
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 SVN revision: 69681
Diffstat (limited to 'src/examples/calendar_example_06.c')
-rw-r--r--src/examples/calendar_example_06.c2
1 files changed, 1 insertions, 1 deletions
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__)
32 Elm_Calendar_Mark *mark; 32 Elm_Calendar_Mark *mark;
33 struct tm selected_time; 33 struct tm selected_time;
34 time_t current_time; 34 time_t current_time;
35 struct tm sunday = {0, 0, 12, 7, 0, 0, 0, 0, -1 }; 35 struct tm sunday = { 0, 0, 12, 7, 0, 0, 0, 0, -1, 0, NULL };
36 /* tm {sec, min, hour, mday, mon, year, wday, yday, isdst } */ 36 /* tm {sec, min, hour, mday, mon, year, wday, yday, isdst } */
37 /* weekdays since Sunday, range 0 to 6 */ 37 /* weekdays since Sunday, range 0 to 6 */
38 struct tm christmas; 38 struct tm christmas;