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) {
95
95
}
96
96
97
97
#[ 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 ) {
99
99
// Allocate necessary structures for doing the stack walk
100
100
let process = GetCurrentProcess ( ) ;
101
101
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ pub unsafe fn trace_thread_unsynchronized<F: FnMut(&Frame) -> bool>(
82
82
thread : * mut c_void ,
83
83
mut cb : F ,
84
84
) {
85
- trace_thread_imp ( & mut cb, thread)
85
+ trace_thread_imp ( & mut cb, thread as super :: windows :: HANDLE ) ;
86
86
}
87
87
88
88
/// A trait representing one frame of a backtrace, yielded to the `trace`
You can’t perform that action at this time.
0 commit comments