summaryrefslogtreecommitdiffstats
path: root/itypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'itypes.c')
-rw-r--r--itypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/itypes.c b/itypes.c
index a0a10e4e..5c1e3e69 100644
--- a/itypes.c
+++ b/itypes.c
@@ -98,7 +98,7 @@ u32_t c_u32(val n, val self)
#endif
#if HAVE_I64
-#if SIZEOF_PTR == 8
+#if CHAR_BIT * SIZEOF_PTR == 64
i64_t c_i64(val n, val self)
{
cnum v = c_num(n);