summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fixedvector.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-12-26 19:57:59 -0500
committerSamuel Bronson <naesten@gmail.com>2011-12-26 23:43:40 -0500
commit29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7 (patch)
tree6b9d9c75d41b84f516ceea1ed4d19e92ec5ab098 /crawl-ref/source/fixedvector.h
parentfa0910a69bdf73c96e1885b8e5f21ab14135a4df (diff)
downloadcrawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.tar.gz
crawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.zip
Enable printf warnings for yet more functions & fix problems identified
Diffstat (limited to 'crawl-ref/source/fixedvector.h')
-rw-r--r--crawl-ref/source/fixedvector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fixedvector.h b/crawl-ref/source/fixedvector.h
index 949c49bb52..f224f58249 100644
--- a/crawl-ref/source/fixedvector.h
+++ b/crawl-ref/source/fixedvector.h
@@ -67,7 +67,7 @@ public:
{
// Intentionally printed as signed, it's very, very unlikely we'd
// have a genuine big number here, but underflows are common.
- die_noline("range check error (%ld / %ld)", (signed long)index,
+ die_noline("range check error (%ld / %d)", (signed long)index,
SIZE);
}
#endif
@@ -79,7 +79,7 @@ public:
#ifdef ASSERTS
if (index >= SIZE)
{
- die_noline("range check error (%ld / %ld)", (signed long)index,
+ die_noline("range check error (%ld / %d)", (signed long)index,
SIZE);
}
#endif