Rollup merge of #132359 - mustartt:henry/match-libc-char-type, r=jieyouxu
Fix AIX libc call char type from i8 to u8
There was an update to AIX `libc` default char type from `i8 -> u8`, we should reflect that on the call site to satisfy the type checker.
81f0cd3d97/src/unix/aix/mod.rs (L1)
This commit is contained in:
commit
426f2fbbe2
@ -84,7 +84,7 @@ fn current_dll_path() -> Result<PathBuf, String> {
|
||||
loop {
|
||||
if libc::loadquery(
|
||||
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,
|
||||
) >= 0
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user