OSDN Git Service

#37287 #37353 (2.2.0.89) 型の置換を継続中。 / Ongoing type replacement.
[hengband/hengband.git] / src / object1.c
index 4ce6022..2e52f97 100644 (file)
@@ -1981,7 +1981,7 @@ static bool get_tag(COMMAND_CODE *cp, char tag, int mode)
  * Also, the tag "@xn" will work as well, where "n" is a any tag-char,\n
  * and "x" is the "current" command_cmd code.\n
  */
-static bool get_tag_floor(int *cp, char tag, int floor_list[], int floor_num)
+static bool get_tag_floor(COMMAND_CODE *cp, char tag, int floor_list[], int floor_num)
 {
        int i;
        cptr s;
@@ -2726,7 +2726,8 @@ bool get_item(COMMAND_CODE *cp, cptr pmt, cptr str, int mode)
 
        int j;
        COMMAND_CODE k;
-       int i1, i2, e1, e2;
+       COMMAND_CODE i1, i2;
+       COMMAND_CODE e1, e2;
 
        bool done, item;
 
@@ -4031,7 +4032,7 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, int mode)
        /* Repeat until done */
        while (!done)
        {
-               int get_item_label = 0;
+               COMMAND_CODE get_item_label = 0;
 
                /* Show choices */
                int ni = 0;