summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.cc
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 19:05:29 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 19:05:29 +0000
commita932874b76f5657f943d879c2a0b36dab2cc3f68 (patch)
tree53b0c558cefc876624c45837a1158bdac808cb70 /crawl-ref/source/format.cc
parent06c98790b81615b087ee1b3a899551c72d005c87 (diff)
downloadcrawl-ref-a932874b76f5657f943d879c2a0b36dab2cc3f68.tar.gz
crawl-ref-a932874b76f5657f943d879c2a0b36dab2cc3f68.zip
Tutorial fix, maybe?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3957 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/format.cc')
-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)