From 64662ff2ce0cbadeb8a596eee63667bc0e5130e4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 6 Dec 2012 20:41:09 +0100 Subject: Fix two enumeration types in function signatures Spotted with clang and "-Wconversion". Signed-off-by: Lukas Fleischer --- src/ical.c | 2 +- src/io.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ical.c b/src/ical.c index 18c6bb5..d34ef38 100644 --- a/src/ical.c +++ b/src/ical.c @@ -773,7 +773,7 @@ ical_read_exdate(llist_t * exc, FILE * log, char *exstr, unsigned *noskipped, /* Return an allocated string containing the name of the newly created note. */ static char *ical_read_note(char *line, unsigned *noskipped, - ical_vevent_e item_type, const int itemline, + ical_types_e item_type, const int itemline, FILE * log) { char *p, *notestr, *note; diff --git a/src/io.c b/src/io.c index 884e3a9..bef4c55 100644 --- a/src/io.c +++ b/src/io.c @@ -932,7 +932,7 @@ void io_export_data(enum export_type type) } } -static FILE *get_import_stream(enum export_type type) +static FILE *get_import_stream(enum import_type type) { FILE *stream = NULL; char *stream_name; -- cgit v1.2.3