From 3523f899175fce4d84a733f64290d7f605e46f23 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Thu, 12 Jul 2012 01:01:52 -0700 Subject: [PATCH] Added 'char' back where I removed it by mistake. --- lib/checkio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkio.cpp b/lib/checkio.cpp index 068c26a85..5d0a4253c 100644 --- a/lib/checkio.cpp +++ b/lib/checkio.cpp @@ -537,7 +537,7 @@ void CheckIO::checkWrongPrintfScanfArguments() break; case 'u': if (varTypeTok && isKnownType(variableInfo, varTypeTok) && !variableInfo->isPointer() && !variableInfo->isArray()) { - if ((!varTypeTok->isUnsigned() || !Token::Match(varTypeTok, "short|long|int|size_t")) && varTypeTok->str() != "bool") + if ((!varTypeTok->isUnsigned() || !Token::Match(varTypeTok, "char|short|long|int|size_t")) && varTypeTok->str() != "bool") invalidPrintfArgTypeError_uint(tok, numFormat, *i); } else if (argListTok->type() == Token::eString) invalidPrintfArgTypeError_uint(tok, numFormat, *i);