summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 979498b696..5db2f4294b 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -776,7 +776,7 @@ static void _write_tagged_file( FILE *outf, int fileType,
// all other tags
for (int i = 1; i < NUM_TAGS; i++)
if (tags[i] == 1)
- tag_write((tag_type)i, outf);
+ tag_write(static_cast<tag_type>(i), outf);
}
bool travel_load_map( branch_type branch, int absdepth )