Skip to content

Commit ab94675

Browse files
committed
patch for 32 bit build - will drop support soon
1 parent 6071a15 commit ab94675

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BoundDatumSet.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ namespace mssql
2626
for (uint32_t i = 0; i < set->get_column_count(); ++i) {
2727
const auto binding = make_shared<BoundDatum>(_params);
2828
auto& def = set->get_meta_data(i);
29-
binding->reserve_column_type(def.dataType, def.columnSize, row_count);
29+
auto size = static_cast<size_t>(def.columnSize);
30+
binding->reserve_column_type(def.dataType, size, row_count);
3031
_bindings->push_back(binding);
3132
}
3233
return true;

0 commit comments

Comments
 (0)