diff --git a/rustecal-service/src/types.rs b/rustecal-service/src/types.rs index 9cfa850..4ee7a20 100644 --- a/rustecal-service/src/types.rs +++ b/rustecal-service/src/types.rs @@ -16,6 +16,7 @@ impl CallState { } impl From for CallState { + #[allow(clippy::unnecessary_cast)] // eCAL_eCallState constants may be u32 or i32 depending on eCAL version fn from(value: i32) -> Self { match value { x if x == rustecal_sys::eCAL_eCallState_eCAL_eCallState_none as i32 => CallState::None,