* when you run it. It's probably easy to fix but I haven't tried,\n
* sorry.\n
*/
-static int get_learned_power(int *sn)
+static int get_learned_power(SPELL_IDX *sn)
{
int i = 0;
int num = 0;
ask = isupper(choice);
/* Lowercase */
- if (ask) choice = tolower(choice);
+ if (ask) choice = (char)tolower(choice);
/* Extract request */
i = (islower(choice) ? A2I(choice) : -1);
break;
case MS_DISPEL:
{
- int m_idx;
+ MONSTER_IDX m_idx;
if (!target_set(TARGET_KILL)) return FALSE;
m_idx = cave[target_row][target_col].m_idx;
break;
case MS_TELE_LEVEL:
{
- int target_m_idx;
+ MONSTER_IDX target_m_idx;
monster_type *m_ptr;
monster_race *r_ptr;
char m_name[80];
*/
bool do_cmd_cast_learned(void)
{
- int n = 0;
+ SPELL_IDX n = 0;
int chance;
int minfail = 0;
int plev = p_ptr->lev;