CheckIo: Fixed FIXME

This commit is contained in:
Robert Reif 2014-03-19 20:57:33 +01:00 committed by Daniel Marjamäki
parent f3622f729c
commit 5c88934431
2 changed files with 4 additions and 1 deletions

View File

@ -905,6 +905,9 @@ void CheckIO::checkWrongPrintfScanfArguments()
case 'L':
if (argInfo.typeToken->str() != "long" || !argInfo.typeToken->isLong())
invalidScanfArgTypeError_int(tok, numFormat, specifier, &argInfo, true);
else if (argInfo.typeToken->originalName() == "size_t" ||
argInfo.typeToken->originalName() == "uintmax_t")
invalidScanfArgTypeError_int(tok, numFormat, specifier, &argInfo, true);
break;
default:
if (argInfo.typeToken->str() != "int")

View File

@ -1163,7 +1163,7 @@ private:
check(code, true, false, Settings::Win32A);
ASSERT_EQUALS(result, errout.str());
check(code, true, false, Settings::Win64);
// FIXME ASSERT_EQUALS(result_win64, errout.str());
ASSERT_EQUALS(result_win64, errout.str());
}
{