Another VC2013 fix
This commit is contained in:
parent
40e2d7932b
commit
c009dce591
@ -401,7 +401,7 @@ void ExtractionContainers::PrepareData(const std::string &output_file_name,
|
|||||||
std::vector<unsigned> name_lengths;
|
std::vector<unsigned> name_lengths;
|
||||||
for (const std::string &temp_string : name_list)
|
for (const std::string &temp_string : name_list)
|
||||||
{
|
{
|
||||||
const unsigned string_length = std::min(temp_string.length(), 255lu);
|
const unsigned string_length = std::min(static_cast<unsigned>(temp_string.length()), 255u);
|
||||||
name_lengths.push_back(string_length);
|
name_lengths.push_back(string_length);
|
||||||
total_length += string_length;
|
total_length += string_length;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user