OSDN Git Service

#37353 HEX_REVENGE_TYPE, HEX_REVENGE_POWER, HEX_REVENGE_TURN を定義。 / Define HEX_REVENG...
[hengband/hengband.git] / src / snipe.c
index 12b07af..b0e1c00 100644 (file)
@@ -356,7 +356,7 @@ static int get_snipe_power(COMMAND_CODE *sn, bool only_browse)
                ask = isupper(choice);
 
                /* Lowercase */
-               if (ask) choice = tolower(choice);
+               if (ask) choice = (char)tolower(choice);
 
                /* Extract request */
                i = (islower(choice) ? A2I(choice) : -1);