From 5e9885dd9bd5c340f7952b124a2860b30271d82a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 26 Aug 2007 17:39:38 +0000 Subject: [PATCH] Fix %p format checking, patch by Keith Bauer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41454 91177308-0d34-0410-b5e6-96231b3b80d8 --- Sema/SemaChecking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sema/SemaChecking.cpp b/Sema/SemaChecking.cpp index d5445a17ee..e03507b796 100644 --- a/Sema/SemaChecking.cpp +++ b/Sema/SemaChecking.cpp @@ -308,7 +308,7 @@ Sema::CheckPrintfArguments(Expr *Fn, case 'C': case 'S': case 's': - case 'P': + case 'p': ++numConversions; CurrentState = state_OrdChr; break; -- 2.40.0