diff options
author | Allen Winter <allen.winter@kdab.com> | 2022-10-05 16:20:18 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-10-05 16:20:18 -0400 |
commit | bdb1ca86fb770b22ab4fdd9db12c927519102c76 (patch) | |
tree | a94e7699f0a4963a6eb6d5221a984b9e5780937f /examples/access_properties_and_parameters.c | |
parent | 101ea9db07ecb3dbfccc4172ebfd919d3621da3f (diff) | |
download | libical-git-bdb1ca86fb770b22ab4fdd9db12c927519102c76.tar.gz |
Ensure all vanew_foo() calls finish with (void*)0 (not 0)
Diffstat (limited to 'examples/access_properties_and_parameters.c')
-rw-r--r-- | examples/access_properties_and_parameters.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |