mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
[clang-tidy] Replace C style casts with C++ ones
Found with google-readability-casting Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
55d103c491
commit
13e1bf7204
14 changed files with 86 additions and 86 deletions
|
@ -1035,7 +1035,7 @@ void Context::getLimits (int& rows, int& lines)
|
|||
}
|
||||
else
|
||||
{
|
||||
rows = (int) strtol (limit.c_str (), nullptr, 10);
|
||||
rows = static_cast<int>(strtol (limit.c_str (), nullptr, 10));
|
||||
lines = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue