[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:
Rosen Penev 2019-09-27 20:42:34 -07:00 committed by Paul Beckingham
parent 55d103c491
commit 13e1bf7204
14 changed files with 86 additions and 86 deletions

View file

@ -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;
}
}