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
#37287 #37353 (2.2.0.89) BACT_IDX, BACT_RESTRICT_IDX 型を定義し、型の置換を継続中。LNK4075を修正。 ...
[hengband/hengband.git]
/
src
/
h-define.h
diff --git
a/src/h-define.h
b/src/h-define.h
index
ad14f49
..
914407a
100644
(file)
--- a/
src/h-define.h
+++ b/
src/h-define.h
@@
-124,7
+124,7
@@
* from any legal characters. XXX XXX XXX
*/
#define A2I(X) ((X) - 'a')
-#define I2A(X) ((X) + 'a')
+#define I2A(X) ((
char)(
X) + 'a')
#define D2I(X) ((X) - '0')
#define I2D(X) ((X) + '0')
#define KTRL(X) ((X) & 0x1F)