OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement. (TERM_LEN)
authordeskull <deskull@users.sourceforge.jp>
Thu, 7 Mar 2019 12:05:30 +0000 (21:05 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 7 Mar 2019 12:05:30 +0000 (21:05 +0900)
src/snipe.c

index 26cb6cc..ef862c8 100644 (file)
@@ -209,8 +209,8 @@ static int get_snipe_power(COMMAND_CODE *sn, bool only_browse)
 {
        COMMAND_CODE i;
        int             num = 0;
-       int             y = 1;
-       int             x = 20;
+       TERM_LEN y = 1;
+       TERM_LEN x = 20;
        PLAYER_LEVEL plev = p_ptr->lev;
        int             ask;
        char            choice;