Revert "[clang-tidy] Replace C style casts with C++ ones"

This reverts commit 13e1bf7204.
This commit is contained in:
Paul Beckingham 2020-12-05 16:18:15 -05:00
parent 364b4ea8bd
commit c43a513158
14 changed files with 86 additions and 86 deletions

View file

@ -127,10 +127,10 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
for (unsigned int s = 0; s < sequence.size (); ++s)
{
if (static_cast<int>(s) >= _truncate_lines && _truncate_lines != 0)
if ((int)s >= _truncate_lines && _truncate_lines != 0)
break;
if (static_cast<int>(s) >= _truncate_rows && _truncate_rows != 0)
if ((int)s >= _truncate_rows && _truncate_rows != 0)
break;
// Determine minimum and ideal width for this column.