diff --git a/source/worksheet/range.cpp b/source/worksheet/range.cpp index edb128f6..1a45d511 100644 --- a/source/worksheet/range.cpp +++ b/source/worksheet/range.cpp @@ -76,11 +76,11 @@ cell_vector range::vector(std::size_t vector_index) if (order_ == major_order::row) { - cursor.row(cursor.row() + vector_index); + cursor.row(cursor.row() + static_cast(vector_index)); } else { - cursor.column_index(cursor.column_index() + vector_index); + cursor.column_index(cursor.column_index() + static_cast(vector_index)); } return cell_vector(ws_, cursor, ref_, order_, skip_null_, false);