checkio.cpp: Fix forgotten "nonneg" change which breaks build
This commit is contained in:
parent
7a4a9eba4b
commit
4e89b13adf
|
@ -1774,7 +1774,7 @@ void CheckIO::invalidScanfArgTypeError_int(const Token* tok, nonneg int numForma
|
|||
errmsg << ".";
|
||||
reportError(tok, severity, "invalidScanfArgType_int", errmsg.str(), CWE686, false);
|
||||
}
|
||||
void CheckIO::invalidScanfArgTypeError_float(const Token* tok, unsigned int numFormat, const std::string& specifier, const ArgumentInfo* argInfo)
|
||||
void CheckIO::invalidScanfArgTypeError_float(const Token* tok, nonneg int numFormat, const std::string& specifier, const ArgumentInfo* argInfo)
|
||||
{
|
||||
const Severity::SeverityType severity = getSeverity(argInfo);
|
||||
if (!mSettings->isEnabled(severity))
|
||||
|
|
Loading…
Reference in New Issue