mirror of
https://github.com/SOCI/soci.git
synced 2026-02-15 02:38:42 -06:00
Fix harmless warning about size_t to int cast
The begin_ value here is never going to be out of int range, so just cast it explicitly to avoid a warning about doing it implicitly.
This commit is contained in:
@@ -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<int>(begin_);
|
||||
curRow != endRow; ++curRow, ++i)
|
||||
{
|
||||
// first, deal with indicators
|
||||
|
||||
Reference in New Issue
Block a user