aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-12-10 17:10:23 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-12-10 17:12:21 +0900
commit60c53ff6ee1eed054fc3d78ad6c06cbfc56900d6 (patch)
tree25071a3b67701302e097c9c0a998015dd2e19464 /iseq.c
parente27d2013db18d124d1362b6cc81ecec806ef1a0d (diff)
downloadruby-60c53ff6ee1eed054fc3d78ad6c06cbfc56900d6.tar.gz
vm_core.h (iseq_unique_id): prefer uintptr_t instead of unsigned long
It produced a warning about type cast in LLP64 (i.e., windows).
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 4298130b65..f5f8437882 100644
--- a/iseq.c
+++ b/iseq.c
@@ -427,7 +427,7 @@ rb_iseq_memsize(const rb_iseq_t *iseq)
return size;
}
-static unsigned long fresh_iseq_unique_id = 0; /* -- Remove In 3.0 -- */
+static uintptr_t fresh_iseq_unique_id = 0; /* -- Remove In 3.0 -- */
struct rb_iseq_constant_body *
rb_iseq_constant_body_alloc(void)