diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-12-06 20:41:09 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-12-06 20:41:19 +0100 |
commit | 64662ff2ce0cbadeb8a596eee63667bc0e5130e4 (patch) | |
tree | 580d6e1abcee135e267da8983426344bae1232a4 | |
parent | db51503b6481577daead9e8534fec002d4d09e89 (diff) | |
download | calcurse-64662ff2ce0cbadeb8a596eee63667bc0e5130e4.tar.gz calcurse-64662ff2ce0cbadeb8a596eee63667bc0e5130e4.zip |
Fix two enumeration types in function signatures
Spotted with clang and "-Wconversion".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/ical.c | 2 | ||||
-rw-r--r-- | src/io.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; @@ -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; |