diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-07 12:48:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-07 12:48:36 +0000 |
commit | d99d8cc8683ea50e68e20eaeebc51264b58c97a4 (patch) | |
tree | 9b21a22ee2eedf1402721304b8b330eb4053da19 /vm_dump.c | |
parent | adb723bce7d50808943cc964763ea4b34b9a6712 (diff) |
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
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 2 |
1 files changed, 1 insertions, 1 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); } |