Wrong reporting function was being called
This commit is contained in:
parent
f653b36b87
commit
fe5dd55723
|
@ -1181,7 +1181,7 @@ void CheckIO::checkFormatString(const Token * const tok,
|
|||
break;
|
||||
case 'z':
|
||||
if (!typesMatch(argInfo.typeToken->originalName(), "ssize_t"))
|
||||
invalidPrintfArgTypeError_uint(tok, numFormat, specifier, &argInfo);
|
||||
invalidPrintfArgTypeError_sint(tok, numFormat, specifier, &argInfo);
|
||||
break;
|
||||
case 'L':
|
||||
if (argInfo.typeToken->str() != "long" || !argInfo.typeToken->isLong())
|
||||
|
|
Loading…
Reference in New Issue