aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/VorbisComments.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
committerMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
commita78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch)
treec8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/decoder/VorbisComments.cxx
parentcf4d80fc655a399615529bdd27e0be284754c5ab (diff)
downloadmpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/decoder/VorbisComments.cxx')
-rw-r--r--src/decoder/VorbisComments.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/VorbisComments.cxx b/src/decoder/VorbisComments.cxx
index 402ee7c2b..773eca261 100644
--- a/src/decoder/VorbisComments.cxx
+++ b/src/decoder/VorbisComments.cxx
@@ -84,7 +84,7 @@ vorbis_comments_to_replay_gain(struct replay_gain_info *rgi, char **comments)
*/
static bool
vorbis_copy_comment(const char *comment,
- const char *name, enum tag_type tag_type,
+ const char *name, TagType tag_type,
const struct tag_handler *handler, void *handler_ctx)
{
const char *value;
@@ -122,7 +122,7 @@ vorbis_scan_comment(const char *comment,
for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; ++i)
if (vorbis_copy_comment(comment,
- tag_item_names[i], tag_type(i),
+ tag_item_names[i], TagType(i),
handler, handler_ctx))
return;
}