diff --git a/crates/utils/re_arrow_util/src/arrow_util.rs b/crates/utils/re_arrow_util/src/arrow_util.rs index 718f317afcdb..3de1a54c1f56 100644 --- a/crates/utils/re_arrow_util/src/arrow_util.rs +++ b/crates/utils/re_arrow_util/src/arrow_util.rs @@ -44,7 +44,7 @@ pub fn offsets_lengths( start <= end && 0 <= start, "Bad arrow offset buffer: {start}, {end}" ); - end.saturating_sub(end).max(0) as usize + end.saturating_sub(start).max(0) as usize }) }