Skip to content

Commit 2bac8a1

Browse files
committed
Use std::ffi::c_void instead of libc::c_void
Fixes #42
1 parent 7f1e6f2 commit 2bac8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fn set_stack_limit(l: Option<usize>) {
118118
psm_stack_manipulation! {
119119
yes {
120120
struct StackRestoreGuard {
121-
new_stack: *mut libc::c_void,
121+
new_stack: *mut std::ffi::c_void,
122122
stack_bytes: usize,
123123
old_stack_limit: Option<usize>,
124124
}

0 commit comments

Comments
 (0)