Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation on platforms that don't use i8 for c_char (#1182)
* Fix compilation on platforms that don't use i8 for c_char This commit changes the cast of an c_char to be a c_char type instead of i8. On x86 platforms i8 == c_char, but it can also be u8 on other platforms. [1][2] This should fix compilation on those platforms by just using the c_char type so that we're casting as the right type regardless of which platform PyO3 is being built for. Fixes #1181 [1] https://doc.rust-lang.org/std/os/raw/type.c_char.html [2] https://github.com/rust-lang/rust/blob/master/library/std/src/os/raw/mod.rs#L55-L99 * Add changelog entry
- Loading branch information