fix libc call from i8 to u8
This commit is contained in:
parent
298c7462c3
commit
a43a37c706
@ -84,7 +84,7 @@ fn current_dll_path() -> Result<PathBuf, String> {
|
|||||||
loop {
|
loop {
|
||||||
if libc::loadquery(
|
if libc::loadquery(
|
||||||
libc::L_GETINFO,
|
libc::L_GETINFO,
|
||||||
buffer.as_mut_ptr() as *mut i8,
|
buffer.as_mut_ptr() as *mut u8,
|
||||||
(std::mem::size_of::<libc::ld_info>() * buffer.len()) as u32,
|
(std::mem::size_of::<libc::ld_info>() * buffer.len()) as u32,
|
||||||
) >= 0
|
) >= 0
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user