[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:
committed by
Paul Beckingham
parent
55d103c491
commit
13e1bf7204
@@ -471,7 +471,7 @@ void Hooks::assertNTasks (
|
||||
{
|
||||
if (input.size () != n)
|
||||
{
|
||||
Context::getContext ().error (format (STRING_HOOK_ERROR_BAD_NUM, n, (int) input.size (), Path (script).name ()));
|
||||
Context::getContext ().error (format (STRING_HOOK_ERROR_BAD_NUM, n, static_cast<int>(input.size ()), Path (script).name ()));
|
||||
throw 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user