We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dfba8e commit 26219cbCopy full SHA for 26219cb
1 file changed
include/internal/basic_csv_parser.hpp
@@ -241,15 +241,15 @@ namespace csv {
241
const auto end = _source.tellg();
242
_source.seekg(0, std::ios::beg);
243
244
- source_size = end - start;
+ source_size = static_cast<size_t>(end - start);
245
}
246
247
// Read data into buffer
248
size_t length = std::min(source_size - stream_pos, bytes);
249
std::unique_ptr<char[]> buff(new char[length]);
250
_source.seekg(stream_pos, std::ios::beg);
251
_source.read(buff.get(), length);
252
- stream_pos = _source.tellg();
+ stream_pos = static_cast<size_t>(_source.tellg());
253
((std::string*)(this->data_ptr->_data.get()))->assign(buff.get(), length);
254
255
// Create string_view
0 commit comments