From 8e214d1b14603e9671bd9d4f9942065513c900df Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 1 Nov 2015 21:39:19 -0500 Subject: [PATCH] Context: Converted from strtol to std::stoi --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context.cpp b/src/Context.cpp index 7924a4ab6..290d6a03b 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -611,7 +611,7 @@ void Context::getLimits (int& rows, int& lines) } else { - rows = (int) strtol (limit.c_str (), NULL, 10); + rows = std::stoi (limit); lines = 0; } }