зеркало из https://github.com/github/ruby.git
* vm_dump.c (rb_vmdebug_stack_dump_all_threads): cast to `void*`.
Pointed out at
<fbc1deca89 (commitcomment-21839826)
>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
df53b325b0
Коммит
8934082ec4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче