aboutsummaryrefslogtreecommitdiff
path: root/src/mytype.h
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2022-04-16 21:42:25 +0900
committerShinya Sato <shinnya.sato@gmail.com>2022-04-16 21:42:25 +0900
commit23b8283047bc2b866e5edc3c3852ff0bf461a587 (patch)
tree2b9cff1f077a4a05dbe90c6bc233e61b03897087 /src/mytype.h
parent5139486fd68973703b8a68b118eff2ef78def144 (diff)
downloadinpla-23b8283047bc2b866e5edc3c3852ff0bf461a587.tar.gz
inpla-23b8283047bc2b866e5edc3c3852ff0bf461a587.zip
v0.8.1-2
Diffstat (limited to 'src/mytype.h')
-rw-r--r--src/mytype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mytype.h b/src/mytype.h
index ab72df0..74f5d19 100644
--- a/src/mytype.h
+++ b/src/mytype.h
@@ -52,7 +52,7 @@ typedef struct EQList_tag {
#define FIXNUM_FLAG 0x01
#define INT2FIX(i) ((VALUE)(((long)(i) << 1) | FIXNUM_FLAG))
-#define FIX2INT(i) ((int)(i) >> 1)
+#define FIX2INT(i) ((long)(i) >> 1)
#define IS_FIXNUM(i) ((VALUE)(i) & FIXNUM_FLAG)