From: Deskull <61610939+sikabane-works@users.noreply.github.com> Date: Sat, 14 Aug 2021 03:21:24 +0000 (+0900) Subject: [Fix] 不足しているキャストに追加対応. X-Git-Tag: vmacos3.0.0-alpha52~130^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=18d4233d007c1333d93e55df3b33948ae1861e70;p=hengbandforosx%2Fhengbandosx.git [Fix] 不足しているキャストに追加対応. --- diff --git a/src/wizard/wizard-special-process.cpp b/src/wizard/wizard-special-process.cpp index 30677d809..ae2fa11b3 100644 --- a/src/wizard/wizard-special-process.cpp +++ b/src/wizard/wizard-special-process.cpp @@ -503,7 +503,7 @@ void wiz_reset_race(player_type *creature_ptr) sprintf(ppp, "Race (0-%d): ", MAX_RACES - 1); char tmp_val[160]; - sprintf(tmp_val, "%d", creature_ptr->prace); + sprintf(tmp_val, "%d", static_cast(creature_ptr->prace)); if (!get_string(ppp, tmp_val, 2)) return;