Skip to main content

u32_cast_int

Function u32_cast_int 

Source
pub(crate) const fn u32_cast_int(x: u32) -> c_int
Expand description

Used to avoid overflowing_literals when the value is in-range for the unsigned number but out-of-range for signed.