File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ pub unsafe fn trace(cb: &mut dyn FnMut(&super::Frame) -> bool) {
9595}
9696
9797#[ inline( always) ]
98- pub unsafe fn trace_thread ( cb : & mut dyn FnMut ( & super :: Frame ) -> bool , thread : * mut c_void ) {
98+ pub unsafe fn trace_thread ( cb : & mut dyn FnMut ( & super :: Frame ) -> bool , thread : HANDLE ) {
9999 // Allocate necessary structures for doing the stack walk
100100 let process = GetCurrentProcess ( ) ;
101101
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ pub unsafe fn trace_thread_unsynchronized<F: FnMut(&Frame) -> bool>(
8282 thread : * mut c_void ,
8383 mut cb : F ,
8484) {
85- trace_thread_imp ( & mut cb, thread)
85+ trace_thread_imp ( & mut cb, thread as super :: windows :: HANDLE ) ;
8686}
8787
8888/// A trait representing one frame of a backtrace, yielded to the `trace`
You can’t perform that action at this time.
0 commit comments