summaryrefslogtreecommitdiff
path: root/vm_core.h
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 /vm_core.h
parente27d2013db18d124d1362b6cc81ecec806ef1a0d (diff)
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 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 4b1b9e43d0..365f6fb931 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -448,7 +448,7 @@ struct rb_iseq_constant_body {
struct rb_mjit_unit *jit_unit;
#endif
- unsigned long iseq_unique_id; /* -- Remove In 3.0 -- */
+ uintptr_t iseq_unique_id; /* -- Remove In 3.0 -- */
};
/* T_IMEMO/iseq */