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
This commit is contained in:
Daniel Juyung Seo 2012-03-28 00:52:05 +00:00
parent d50b73d22e
commit 7553652230
1 changed files with 1 additions and 1 deletions

View File

@ -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;