mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context: Converted from strtol to std::stoi
This commit is contained in:
parent
6df55c9156
commit
8e214d1b14
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue