diff options
Diffstat (limited to 'src/libical')
-rw-r--r-- | src/libical/icalmime.c | 2 | ||||
-rw-r--r-- | src/libical/icalparser.c | 2 | ||||
-rw-r--r-- | src/libical/icalparser.h | 2 | ||||
-rw-r--r-- | src/libical/icalrestriction.c.in | 6 | ||||
-rw-r--r-- | src/libical/icalvalue.c | 6 |
5 files changed, 10 insertions, 8 deletions
diff --git a/src/libical/icalmime.c b/src/libical/icalmime.c index 37688d0f..45268f71 100644 --- a/src/libical/icalmime.c +++ b/src/libical/icalmime.c @@ -234,7 +234,7 @@ icalcomponent *icalmime_parse(char *(*get_string) (char *s, size_t size, void *d errParam = icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_MIMEPARSEERROR); icalcomponent_add_property( comp, - icalproperty_vanew_xlicerror(temp, errParam, 0)); + icalproperty_vanew_xlicerror(temp, errParam, (void *)0)); icalparameter_free(errParam); } diff --git a/src/libical/icalparser.c b/src/libical/icalparser.c index 5ddab29b..3695bb62 100644 --- a/src/libical/icalparser.c +++ b/src/libical/icalparser.c @@ -608,7 +608,7 @@ static void insert_error(icalcomponent *comp, const char *text, icalcomponent_add_property( comp, - icalproperty_vanew_xlicerror(temp, icalparameter_new_xlicerrortype(type), 0)); + icalproperty_vanew_xlicerror(temp, icalparameter_new_xlicerrortype(type), (void *)0)); } static int line_is_blank(char *line) diff --git a/src/libical/icalparser.h b/src/libical/icalparser.h index 850bf33a..067200b4 100644 --- a/src/libical/icalparser.h +++ b/src/libical/icalparser.h @@ -278,7 +278,7 @@ LIBICAL_ICAL_EXPORT icalcomponent *icalparser_parse(icalparser *parser, * @param data The pointer which will be passed to the line_gen_func as argument `d` * * If you use any of the icalparser_parser() or icalparser_get_line() functions, - * the @a line_gen_func that they expect has a third `void* d` argument. This function + * the @a line_gen_func that they expect has a third `void *d` argument. This function * sets what will be passed to your @a line_gen_function as such argument. */ LIBICAL_ICAL_EXPORT void icalparser_set_gen_data(icalparser *parser, void *data); diff --git a/src/libical/icalrestriction.c.in b/src/libical/icalrestriction.c.in index 3931fcb0..f5fd77cc 100644 --- a/src/libical/icalrestriction.c.in +++ b/src/libical/icalrestriction.c.in @@ -345,7 +345,8 @@ static int icalrestriction_check_component(icalproperty_method method, icalcompo icalenum_property_kind_to_string(kind), restr_string_map[restr], count); errProp = icalproperty_vanew_xlicerror( - temp, icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_INVALIDITIP), 0); + temp, + icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_INVALIDITIP), (void *)0); icalcomponent_add_property(comp, errProp); icalproperty_free(errProp); #endif @@ -366,7 +367,8 @@ static int icalrestriction_check_component(icalproperty_method method, icalcompo errProp = icalproperty_vanew_xlicerror( - funcr, icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_INVALIDITIP), 0); + funcr, + icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_INVALIDITIP), (void *)0); icalcomponent_add_property(comp, errProp); icalproperty_free(errProp); compare = 0; diff --git a/src/libical/icalvalue.c b/src/libical/icalvalue.c index 308576a8..c18fad02 100644 --- a/src/libical/icalvalue.c +++ b/src/libical/icalvalue.c @@ -486,7 +486,7 @@ static icalvalue *icalvalue_new_from_string_with_error(icalvalue_kind kind, "Could not parse %s as a %s property", str, icalvalue_kind_to_string(kind)); errParam = icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_VALUEPARSEERROR); - *error = icalproperty_vanew_xlicerror(temp, errParam, 0); + *error = icalproperty_vanew_xlicerror(temp, errParam, (void *)0); icalparameter_free(errParam); } break; @@ -622,7 +622,7 @@ static icalvalue *icalvalue_new_from_string_with_error(icalvalue_kind kind, "Could not parse %s as a %s property", str, icalvalue_kind_to_string(kind)); errParam = icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_VALUEPARSEERROR); - *error = icalproperty_vanew_xlicerror(temp, errParam, 0); + *error = icalproperty_vanew_xlicerror(temp, errParam, (void *)0); icalparameter_free(errParam); } } @@ -737,7 +737,7 @@ static icalvalue *icalvalue_new_from_string_with_error(icalvalue_kind kind, snprintf(temp, TMP_BUF_SIZE, "Unknown type for \'%s\'", str); errParam = icalparameter_new_xlicerrortype(ICAL_XLICERRORTYPE_VALUEPARSEERROR); - *error = icalproperty_vanew_xlicerror(temp, errParam, 0); + *error = icalproperty_vanew_xlicerror(temp, errParam, (void *)0); icalparameter_free(errParam); } |