diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-14 17:30:08 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-14 17:30:08 +0530 |
commit | 7d49c69c575ff87cfd25246c046e1bc73716ecee (patch) | |
tree | 0f49809afd7b73e0ed34badf0c422b265b9930fe /crawl-ref/source/l_mons.cc | |
parent | c3d7fa73a2bab4e0165fbcea96eedcd0ae869f1f (diff) | |
download | crawl-ref-7d49c69c575ff87cfd25246c046e1bc73716ecee.tar.gz crawl-ref-7d49c69c575ff87cfd25246c046e1bc73716ecee.zip |
Fix signed-unsigned comparison warning (l_mons.cc)
Diffstat (limited to 'crawl-ref/source/l_mons.cc')
-rw-r--r-- | crawl-ref/source/l_mons.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_mons.cc b/crawl-ref/source/l_mons.cc index 2c2032a3dc..7eacb20e35 100644 --- a/crawl-ref/source/l_mons.cc +++ b/crawl-ref/source/l_mons.cc @@ -434,7 +434,7 @@ static const char *_monster_behaviour_names[] = { static const char* _behaviour_name(beh_type beh) { - if (0 <= beh && beh < ARRAYSZ(_monster_behaviour_names)) + if (0 <= beh && beh < static_cast<int>(ARRAYSZ(_monster_behaviour_names))) return (_monster_behaviour_names[beh]); else return ("invalid"); |