CLI2: Converted from strtol to std::stoi

This commit is contained in:
Paul Beckingham 2015-11-01 21:44:08 -05:00
parent c903185481
commit 91afa9b567

View file

@ -1772,8 +1772,8 @@ void CLI2::insertIDExpr ()
else
{
bool ascending = true;
int low = strtol (r->first.c_str (), NULL, 10);
int high = strtol (r->second.c_str (), NULL, 10);
int low = std::stoi (r->first);
int high = std::stoi (r->second);
if (low <= high)
ascending = true;
else