summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-clone.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-07-16 00:29:59 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-07-16 12:35:13 +0200
commit956b740cff3b29381f3c2255ac9523b507adcff9 (patch)
tree56046748c30028f410a2d49ae6fa139d30cc69c8 /crawl-ref/source/mon-clone.cc
parent4bde4b17c7e2e2ca1075f4f4a729b96b9561c76c (diff)
downloadcrawl-ref-956b740cff3b29381f3c2255ac9523b507adcff9.tar.gz
crawl-ref-956b740cff3b29381f3c2255ac9523b507adcff9.zip
Get rid of more longs and all "%ld"s, new gcc + Windows + them = bad mojo.
Diffstat (limited to 'crawl-ref/source/mon-clone.cc')
-rw-r--r--crawl-ref/source/mon-clone.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-clone.cc b/crawl-ref/source/mon-clone.cc
index 64c9aba829..7dafc889ee 100644
--- a/crawl-ref/source/mon-clone.cc
+++ b/crawl-ref/source/mon-clone.cc
@@ -32,7 +32,7 @@ const std::string clone_slave_key = "mclonedupe";
static std::string _monster_clone_id_for(monsters *mons)
{
- return make_stringf("%s%ld",
+ return make_stringf("%s%d",
mons->name(DESC_PLAIN, true).c_str(),
you.num_turns);
}