summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc
index 12cb5ba94b..ebccc2bf10 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -346,7 +346,7 @@ std::string formatted_string::to_colour_string() const
if (ops[i] == FSOP_TEXT)
{
// gotta double up those '<' chars ...
- unsigned int start = st.size();
+ size_t start = st.size();
st += ops[i].text;
while (true)