]> granicus.if.org Git - gc/commit
Eliminate 'cast to void* from int' compiler warnings (Darwin/x64)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 18 Aug 2016 22:43:25 +0000 (01:43 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 31 Oct 2016 20:26:38 +0000 (23:26 +0300)
commitf4d9e05c5b8ec6e617976b542ed7e46e80f0710d
treec9086720dca4418894092deab94b6c9f860baf0f
parentd4a05073682fa1c9dc1d3dffc775da86d3711398
Eliminate 'cast to void* from int' compiler warnings (Darwin/x64)

* darwin_stop_world.c (GC_stack_range_for, GC_suspend_thread_list,
GC_stop_world, GC_thread_resume, GC_start_world): Cast thread variable
to pointer via word type.
* darwin_stop_world.c (GC_stop_world): Cast stop_info.mach_thread to
pointer via word type.
darwin_stop_world.c