summaryrefslogtreecommitdiff
path: root/src/DatabaseSave.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabaseSave.cxx')
-rw-r--r--src/DatabaseSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DatabaseSave.cxx b/src/DatabaseSave.cxx
index 0fb00c8c0..0b6338013 100644
--- a/src/DatabaseSave.cxx
+++ b/src/DatabaseSave.cxx
@@ -117,7 +117,7 @@ db_load_internal(TextFile &file, Directory &music_root, Error &error)
}
} else if (g_str_has_prefix(line, DB_TAG_PREFIX)) {
const char *name = line + sizeof(DB_TAG_PREFIX) - 1;
- enum tag_type tag = tag_name_parse(name);
+ TagType tag = tag_name_parse(name);
if (tag == TAG_NUM_OF_ITEM_TYPES) {
error.Format(db_domain,
"Unrecognized tag '%s', "