X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fwizard2.c;h=1c94028aa52c9d1872bc7c4abfd32a970cacb730;hb=924ccf7dec90442b9f1dc29743203792b11fdd3d;hp=887e4fa30493547e73fb054b6c1031874bcb216e;hpb=dcb367ded40b41695af4ebab2eff9833f4879a22;p=hengband%2Fhengband.git diff --git a/src/wizard2.c b/src/wizard2.c index 887e4fa30..1c94028aa 100644 --- a/src/wizard2.c +++ b/src/wizard2.c @@ -1272,7 +1272,7 @@ static void do_cmd_wiz_blue_mage(void) */ static void do_cmd_wiz_play(void) { - int item; + OBJECT_IDX item; object_type forge; object_type *q_ptr; @@ -1555,7 +1555,8 @@ static void do_cmd_wiz_jump(void) if (!d_info[tmp_dungeon_type].maxdepth || (tmp_dungeon_type > max_d_idx)) tmp_dungeon_type = DUNGEON_ANGBAND; /* Prompt */ - sprintf(ppp, "Jump to level (0, %d-%d): ", d_info[tmp_dungeon_type].mindepth, d_info[tmp_dungeon_type].maxdepth); + sprintf(ppp, "Jump to level (0, %d-%d): ", + (int)d_info[tmp_dungeon_type].mindepth, (int)d_info[tmp_dungeon_type].maxdepth); /* Default */ sprintf(tmp_val, "%d", (int)dun_level);