From c7563a5783c951b75c40123be3bbfdc08794864e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Aug 2009 00:14:24 +0200 Subject: tag_id3: corrected parameter types Changed "int type" to "enum tag_type". Converted "int is_id3v1" to "bool". --- src/tag_id3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tag_id3.c b/src/tag_id3.c index 0432c88b1..84e980ec3 100644 --- a/src/tag_id3.c +++ b/src/tag_id3.c @@ -79,7 +79,7 @@ tag_id3_getstring(const struct id3_frame *frame, unsigned i) /* This will try to convert a string to utf-8, */ static id3_utf8_t * -import_id3_string(int is_id3v1, const id3_ucs4_t *ucs4, int type) +import_id3_string(bool is_id3v1, const id3_ucs4_t *ucs4, enum tag_type type) { id3_utf8_t *utf8, *utf8_stripped; id3_latin1_t *isostr; @@ -120,7 +120,8 @@ import_id3_string(int is_id3v1, const id3_ucs4_t *ucs4, int type) } static void -tag_id3_import_frame(struct tag *dest, struct id3_tag *tag, const char *id, int type) +tag_id3_import_frame(struct tag *dest, struct id3_tag *tag, const char *id, + enum tag_type type) { struct id3_frame const *frame; id3_ucs4_t const *ucs4; -- cgit v1.2.3