diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-25 17:57:03 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-25 17:57:03 +0000 |
commit | f24dd0d78e1448c19a53aa23c8e136138e3c2a74 (patch) | |
tree | 591987c9f14dcb2e90787f4b507f61b9dad1a14f /crawl-ref/source/directn.cc | |
parent | d54f454b7fc085b792e569ed131bc7be460768f7 (diff) | |
download | crawl-ref-f24dd0d78e1448c19a53aa23c8e136138e3c2a74.tar.gz crawl-ref-f24dd0d78e1448c19a53aa23c8e136138e3c2a74.zip |
Code quality fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8742 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index d4635d0959..dc6584537b 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -684,11 +684,11 @@ static void _fill_monster_list(bool full_info) // Get the unique entries. mlist.clear(); - int start = 0, end = 1; - while (start < (int) temp.size()) + unsigned int start = 0, end = 1; + while (start < temp.size()) { mlist.push_back(temp[start]); - for (end = start + 1; end < (int) temp.size(); ++end) + for (end = start + 1; end < temp.size(); ++end) { if (monster_pane_info::less_than(temp[start], temp[end], full_info)) |