UserData expected `*mut u8`, found `*mut i8`
MysteryCoder456 opened this issue · comments
Rehatbir Singh commented
I am trying to use russimp
with OpenGL, but when I add it to my project and try to build I get the following error:
error[E0308]: mismatched types
--> /home/pi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/russimp-3.2.0/src/fs.rs:49:27
|
49 | UserData: user_data,
| ^^^^^^^^^ expected `*mut u8`, found `*mut i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
error[E0308]: mismatched types
--> /home/pi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/russimp-3.2.0/src/fs.rs:91:23
|
91 | UserData: user_data,
| ^^^^^^^^^ expected `*mut u8`, found `*mut i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
Any help would be greatly appreciated.