mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Add cast to suppress warnings on Solaris [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
adb723bce7
commit
d99d8cc868
2 changed files with 3 additions and 3 deletions
|
@ -1095,7 +1095,7 @@ rb_vmdebug_stack_dump_all_threads(void)
|
|||
ruby_fill_thread_id_string(th->thread_id, buf);
|
||||
fprintf(stderr, "th: %p, native_id: %s\n", th, buf);
|
||||
#else
|
||||
fprintf(stderr, "th: %p, native_id: %p\n", (void *)th, (void *)th->thread_id);
|
||||
fprintf(stderr, "th: %p, native_id: %p\n", (void *)th, (void *)(uintptr_t)th->thread_id);
|
||||
#endif
|
||||
rb_vmdebug_stack_dump_raw(th->ec, th->ec->cfp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue