summaryrefslogtreecommitdiff
path: root/src/cmd5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd5.c')
-rw-r--r--src/cmd5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd5.c b/src/cmd5.c
index 0e683486..eef65a68 100644
--- a/src/cmd5.c
+++ b/src/cmd5.c
@@ -2172,10 +2172,10 @@ bool get_item_hook_find_spell(int *item)
/*
* Get a spell from a book
*/
-u32b get_school_spell(cptr do_what, cptr check_fct, s16b force_book)
+s32b get_school_spell(cptr do_what, cptr check_fct, s16b force_book)
{
int i, item;
- u32b spell = -1;
+ s32b spell = -1;
int num = 0;
s32b where = 1;
int ask;