OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[fix](2.2.1.1) #37582 魔法棒及びロッドの生命力吸収を衰弱に改名。 / Rename rod and wands of drain life...
[hengband/hengband.git]
/
src
/
wizard1.c
diff --git
a/src/wizard1.c
b/src/wizard1.c
index
f7a3ac0
..
332f56c
100644
(file)
--- a/
src/wizard1.c
+++ b/
src/wizard1.c
@@
-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)
);
}