You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
error[E0308]: mismatched types
--> /home/meena/.cargo/registry/src/esyshub.st101.workers.dev-1ecc6299db9ec823/mdcat-0.22.2/src/terminal/size.rs:108:42
|
108 | let result = libc::ioctl(fd, libc::TIOCGWINSZ, &mut winsize);
| ^^^^^^^^^^^^^^^^
| |
| expected `u64`, found `u32`
| help: you can convert a `u32` to a `u64`: `libc::TIOCGWINSZ.into()`
error: aborting due to previous error
FreeBSD ioctl(2) takes unsigned long long as request parameter.
Here we automatically convert it with `.into()` to whatever the libc underneath needs
This fixesswsnr#177
FreeBSD ioctl(2) takes unsigned long long as request parameter.
Here we automatically convert it with `.into()` to whatever the libc underneath needs
This fixesswsnr#177
FreeBSD's
ioctl(2)
has a signature of:What rustc suggests makes it compile (and works!), but i'm not sure if that won't throw off clippy on other platforms.
The text was updated successfully, but these errors were encountered: