Roman Lebedev 2020-10-03 16:01:48 +03:00
parent 0ce6d6b46e
commit 1596cc8350
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ void FunctionCognitiveComplexityCheck::check(
// Increase, on the other hand, can be 0.
diag(Detail.Loc, Msgs[MsgId], DiagnosticIDs::Note)
<< Increase << Detail.Nesting << 1 + Detail.Nesting;
<< (unsigned)Increase << (unsigned)Detail.Nesting << 1 + Detail.Nesting;
}
}