aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 15:58:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 15:58:35 +0000
commit6b00c68f0e4b793991886de0661da59e2cf6c006 (patch)
treeae1bc3b933e87158cc786d5475ac10deded6620b /vm_dump.c
parentf7676e18e0d21fbb6640612a2b4982a14cdd62a0 (diff)
downloadruby-6b00c68f0e4b793991886de0661da59e2cf6c006.tar.gz
* vm_dump.c (rb_vmdebug_stack_dump_all_threads): cast to `void*`.
Pointed out at <https://github.com/ruby/ruby/commit/fbc1deca89595e60af21e58b7e164f376e4bd2fc#commitcomment-21839826> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 4bc47898cf..5c56d61652 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -1054,7 +1054,7 @@ rb_vmdebug_stack_dump_all_threads(void)
rb_thread_t *th = NULL;
list_for_each(&vm->living_threads, th, vmlt_node) {
- fprintf(stderr, "th: %p, native_id: %lx\n", th, (unsigned long)th->thread_id);
+ fprintf(stderr, "th: %p, native_id: %p\n", th, (void *)th->thread_id);
rb_vmdebug_stack_dump_raw(th, th->cfp);
}
}