Skip to main content

u32_cast_long

Function u32_cast_long 

Source
pub(crate) const fn u32_cast_long(x: u32) -> c_long
Expand description

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