OSDN Git Service

[fix](2.2.1.1) #37582 魔法棒及びロッドの生命力吸収を衰弱に改名。 / Rename rod and wands of drain life...
[hengband/hengband.git] / src / wizard1.c
index f7a3ac0..332f56c 100644 (file)
@@ -333,7 +333,7 @@ static void kind_info(char *buf, char *dam, char *wgt, char *chance, DEPTH *lev,
 
 
        /* Weight */
-       sprintf(wgt, "%3d.%d", q_ptr->weight / 10, q_ptr->weight % 10);
+       sprintf(wgt, "%3d.%d", (int)(q_ptr->weight / 10), (int)(q_ptr->weight % 10));
 }