aboutsummaryrefslogtreecommitdiff
path: root/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-26 17:39:38 +0000
committerChris Lattner <sabre@nondot.org>2007-08-26 17:39:38 +0000
commit5e9885dd9bd5c340f7952b124a2860b30271d82a (patch)
treeb55b2edfe927e36203f9092a0705b5e7a953bbd4 /Sema/SemaChecking.cpp
parenta9e2ea107d9419a6406f01e513679327032da193 (diff)
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
Diffstat (limited to 'Sema/SemaChecking.cpp')
-rw-r--r--Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
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;