diff options
author | Neil Moore <neil@s-z.org> | 2014-06-08 19:13:51 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-06-08 19:15:39 -0400 |
commit | 8acf1323096587729cc71ac24ce496ded5ced744 (patch) | |
tree | a31483a63d02e922c493ec48b27b839172adbe1d /crawl-ref/source/files.cc | |
parent | 05144c483517ae1696c7e0fd2f58900abdd4c68a (diff) | |
download | crawl-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.cc | 2 |
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) |