Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserData expected *mut u8, found *mut i8 #67

Open
MysteryCoder456 opened this issue Apr 25, 2024 · 0 comments
Open

UserData expected *mut u8, found *mut i8 #67

MysteryCoder456 opened this issue Apr 25, 2024 · 0 comments

Comments

@MysteryCoder456
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant