avoid level 2 warning about variable size mismatch for x64
This commit is contained in:
parent
edfa987f4e
commit
a371ddf822
@ -598,14 +598,14 @@ void FunctionParser::getInvertZones(vector< pair<int, int> > & destZones, vecto
|
||||
{
|
||||
if (sourceZones.size() == 0)
|
||||
{
|
||||
destZones.push_back(pair<int, int>(begin, end));
|
||||
destZones.push_back(pair<int, int>((int)begin, (int)end));
|
||||
}
|
||||
else
|
||||
{
|
||||
// check the begin
|
||||
if (int(begin) < sourceZones[0].first)
|
||||
{
|
||||
destZones.push_back(pair<int, int>(begin, sourceZones[0].first - 1));
|
||||
destZones.push_back(pair<int, int>((int)begin, sourceZones[0].first - 1));
|
||||
}
|
||||
|
||||
size_t i = 0;
|
||||
@ -618,7 +618,7 @@ void FunctionParser::getInvertZones(vector< pair<int, int> > & destZones, vecto
|
||||
}
|
||||
int lastBegin = sourceZones[i].second + 1;
|
||||
if (lastBegin < int(end))
|
||||
destZones.push_back(pair<int, int>(lastBegin, end));
|
||||
destZones.push_back(pair<int, int>(lastBegin, (int)end));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user