From 204c95993b42a895bd60a6ab8f159275dd6462fd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 2 Nov 2015 18:40:49 -0500 Subject: [PATCH] Revert "CLI2: Converted from strtol to std::stoi" This reverts commit 91afa9b5677babe7d731de63b7d9eea93fb9b1de. --- src/CLI2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 5e947635f..b779f7198 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -1772,8 +1772,8 @@ void CLI2::insertIDExpr () else { bool ascending = true; - int low = std::stoi (r->first); - int high = std::stoi (r->second); + int low = strtol (r->first.c_str (), NULL, 10); + int high = strtol (r->second.c_str (), NULL, 10); if (low <= high) ascending = true; else