OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / racial / racial-android.c
index 5ed4eee..1ce9964 100644 (file)
@@ -59,7 +59,7 @@ void calc_android_exp(player_type *creature_ptr)
     if (creature_ptr->is_dead || (creature_ptr->prace != RACE_ANDROID))
         return;
 
-    for (inventory_slot_type i = INVEN_MAIN_HAND; i < INVEN_TOTAL; i++) {
+    for (int i = INVEN_MAIN_HAND; i < INVEN_TOTAL; i++) {
         object_type *o_ptr = &creature_ptr->inventory_list[i];
         object_type forge;
         object_type *q_ptr = &forge;