From 8934082ec4cf45df46409f093c93266ca001dd4e Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 20 Apr 2017 15:58:35 +0000 Subject: * vm_dump.c (rb_vmdebug_stack_dump_all_threads): cast to `void*`. Pointed out at git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3