diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-12 23:41:46 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-12 23:41:46 +0000 |
commit | 43d6d67d143b01bacbf10dad61f460c7446db1fb (patch) | |
tree | 018ab0f8039152ad0ed65dfe5e959333fd2fe640 | |
parent | 82833a46666839dfc864697128e89fd998c7df91 (diff) | |
download | crawl-ref-43d6d67d143b01bacbf10dad61f460c7446db1fb.tar.gz crawl-ref-43d6d67d143b01bacbf10dad61f460c7446db1fb.zip |
Fix compiler warning.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7815 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/spl-book.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index ca1acb2125..553f8341fb 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -732,7 +732,7 @@ spell_type which_spell_in_book(const item_def &book, int spl) spell_type which_spell_in_book(int sbook_type, int spl) { ASSERT( sbook_type >= 0 ); - ASSERT( sbook_type < NUMBER_SPELLBOOKS ); + ASSERT( sbook_type < static_cast<int>(NUMBER_SPELLBOOKS) ); return spellbook_template_array[sbook_type][spl]; } // end which_spell_in_book() |