diff --git a/deltachat-ffi/src/dc_array.rs b/deltachat-ffi/src/dc_array.rs index cea573b50..48c0d4985 100644 --- a/deltachat-ffi/src/dc_array.rs +++ b/deltachat-ffi/src/dc_array.rs @@ -11,7 +11,7 @@ impl dc_array_t { pub(crate) fn get_id(&self, index: usize) -> u32 { match self { Self::Locations(array) => array[index].location_id, - Self::Uint(array) => array[index] as u32, + Self::Uint(array) => array[index], } }