OSDN Git Service

[Refactor] #40514 アイテムスロット型 inventory_slot_type への置換. / Replace to inventory_slot_type.
[hengband/hengband.git] / src / io / input-key-requester.c
index e5a932a..b8a3891 100644 (file)
@@ -317,7 +317,7 @@ void request_command(player_type *player_ptr, int shopping)
         caretcmd = command_cmd;
 #endif
 
-    for (int i = INVEN_RARM; i < INVEN_TOTAL; i++) {
+    for (inventory_slot_type i = INVEN_RARM; i < INVEN_TOTAL; i++) {
         object_type *o_ptr = &player_ptr->inventory_list[i];
         if (!o_ptr->k_idx)
             continue;