-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I'm getting this error when trying to compile a project that uses mio-serial as a dependency. However, I can clone this repo and build successfully. Any ideas on what to try?
error[E0308]: mismatched types
--> C:\Users\zachkozar\.cargo\registry\src\github.com-1ecc6299db9ec823\mio-serial-5.0.2\src\lib.rs:822:42
|
822 | let r = unsafe { SetCommTimeouts(handle, &mut timeouts) };
| ^^^^^^ expected enum `winapi::ctypes::c_void`, found enum `std::ffi::c_void`
|
= note: expected raw pointer `*mut winapi::ctypes::c_void`
found raw pointer `*mut std::ffi::c_void`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels