forked from organicmaps/organicmaps
[alohalytics] Minor warning fix.
This commit is contained in:
parent
9145157339
commit
ffefd63197
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void Stats::GzipAndArchiveFileInTheQueue(const std::string & in_file, const std:
|
|||
|| file_size > std::numeric_limits<std::streamsize>::max()) {
|
||||
throw std::out_of_range("File size is out of range.");
|
||||
}
|
||||
buffer.resize(data_offset + file_size);
|
||||
buffer.resize(data_offset + size_t(file_size));
|
||||
fi.read(&buffer[data_offset], static_cast<std::streamsize>(file_size));
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue