forked from Rust-related/RustPython
Fix compilation on platforms with i32 c_long
This commit is contained in:
@@ -1932,7 +1932,7 @@ mod _os {
|
||||
Err(io::Error::from(Errno::last()).into_pyexception(vm))
|
||||
}
|
||||
} else {
|
||||
Ok(Some(raw))
|
||||
Ok(Some(raw as i64))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user