summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/access_components.c8
-rw-r--r--examples/access_properties_and_parameters.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/access_components.c b/examples/access_components.c
index c0e3985f..0fbc3945 100644
--- a/examples/access_components.c
+++ b/examples/access_components.c
@@ -223,14 +223,14 @@ icalcomponent* create_new_component_with_va_args()
icalproperty_vanew_organizer(
"mailto:mrbig@host.com",
icalparameter_new_role(ICAL_ROLE_CHAIR),
- 0
+ NULL
),
icalproperty_vanew_attendee(
"mailto:employee-A@host.com",
icalparameter_new_role(ICAL_ROLE_REQPARTICIPANT),
icalparameter_new_rsvp(1),
icalparameter_new_cutype(ICAL_CUTYPE_GROUP),
- 0
+ NULL
),
icalproperty_new_description("Project XYZ Review Meeting"),
@@ -241,12 +241,12 @@ icalcomponent* create_new_component_with_va_args()
icalproperty_vanew_dtstart(
atime,
icalparameter_new_tzid("US-Eastern"),
- 0
+ NULL
),
icalproperty_vanew_dtend(
atime,
icalparameter_new_tzid("US-Eastern"),
- 0
+ NULL
),
icalproperty_new_location("1CP Conference Room 4350"),
0
diff --git a/examples/access_properties_and_parameters.c b/examples/access_properties_and_parameters.c
index 9988dba0..1f0f92f1 100644
--- a/examples/access_properties_and_parameters.c
+++ b/examples/access_properties_and_parameters.c
@@ -115,7 +115,7 @@ void test_properties()
icalparameter_new_cn("A Common Name 2"),
icalparameter_new_cn("A Common Name 3"),
icalparameter_new_cn("A Common Name 4"),
- 0);
+ (void *)0);
/* Iterate through all of the parameters in the property */
for(param = icalproperty_get_first_parameter(prop,ICAL_ANY_PARAMETER);