summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-08 19:13:51 -0400
committerNeil Moore <neil@s-z.org>2014-06-08 19:15:39 -0400
commit8acf1323096587729cc71ac24ce496ded5ced744 (patch)
treea31483a63d02e922c493ec48b27b839172adbe1d /crawl-ref/source/files.cc
parent05144c483517ae1696c7e0fd2f58900abdd4c68a (diff)
downloadcrawl-ref-8acf1323096587729cc71ac24ce496ded5ced744.tar.gz
crawl-ref-8acf1323096587729cc71ac24ce496ded5ced744.zip
Fix a warning.
Making GHOST_LIMIT a size_t would be more intrusive than this cast.
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 fbbc4df24d..06860b98b3 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -2323,7 +2323,7 @@ void save_ghost(bool force)
return;
}
- if (_list_bones().size() >= GHOST_LIMIT)
+ if (_list_bones().size() >= static_cast<size_t>(GHOST_LIMIT))
{
#ifdef BONES_DIAGNOSTICS
if (do_diagnostics)