diff options
author | Yusuke Endoh <[email protected]> | 2019-12-10 17:10:23 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2019-12-10 17:12:21 +0900 |
commit | 60c53ff6ee1eed054fc3d78ad6c06cbfc56900d6 (patch) | |
tree | 25071a3b67701302e097c9c0a998015dd2e19464 /iseq.c | |
parent | e27d2013db18d124d1362b6cc81ecec806ef1a0d (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 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |