Incompatible ncurses types between different OS'es
On lilo6, I get the following compilation error:
error[E0308]: mismatched types
--> src/tui.rs:159:35
|
159 | ncurses::wattr_on(window, attrs);
| ^^^^^
| |
| expected u64, found u32
| help: you can convert an `u32` to `u64`: `attrs.into()`
It seems that on this platform, the ncurses library takes u64
values, instead of u32
s. So we should remove any conversions from and to u32
, that do not also work for u64
.