Wrong reporting function was being called

This commit is contained in:
Dmitry-Me 2017-10-27 22:21:18 +03:00
parent f653b36b87
commit fe5dd55723
1 changed files with 1 additions and 1 deletions

View File

@ -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())