diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-26 17:39:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-26 17:39:38 +0000 |
commit | 5e9885dd9bd5c340f7952b124a2860b30271d82a (patch) | |
tree | b55b2edfe927e36203f9092a0705b5e7a953bbd4 /Sema/SemaChecking.cpp | |
parent | a9e2ea107d9419a6406f01e513679327032da193 (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.cpp | 2 |
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; |