From 4e89b13adfb7cad4c71559e9f43fe34be5cae22e Mon Sep 17 00:00:00 2001 From: versat Date: Tue, 16 Jul 2019 09:29:57 +0200 Subject: [PATCH] checkio.cpp: Fix forgotten "nonneg" change which breaks build --- lib/checkio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkio.cpp b/lib/checkio.cpp index 06f44d527..f2e01a75f 100644 --- a/lib/checkio.cpp +++ b/lib/checkio.cpp @@ -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))