diff --git a/src/backends/postgresql/vector-into-type.cpp b/src/backends/postgresql/vector-into-type.cpp index d55a9e5c..9783be82 100644 --- a/src/backends/postgresql/vector-into-type.cpp +++ b/src/backends/postgresql/vector-into-type.cpp @@ -79,7 +79,7 @@ void postgresql_vector_into_type_backend::post_fetch(bool gotData, indicator * i int const endRow = statement_.currentRow_ + statement_.rowsToConsume_; - for (int curRow = statement_.currentRow_, i = begin_; + for (int curRow = statement_.currentRow_, i = static_cast(begin_); curRow != endRow; ++curRow, ++i) { // first, deal with indicators