summaryrefslogtreecommitdiff
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
commit0c6aad373f3657f156364d10ccd47418ea8e081e (patch)
treec5985b1f9b7ce79e6e63f62af400d4ba22bc002e
parent0d850bfed89fdf80b15565a6d6222086196d9289 (diff)
downloadllvm-0c6aad373f3657f156364d10ccd47418ea8e081e.tar.gz
Fix %p format checking, patch by Keith Bauer.
llvm-svn: 41454
-rw-r--r--clang/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Sema/SemaChecking.cpp b/clang/Sema/SemaChecking.cpp
index d5445a17eea0..e03507b79684 100644
--- a/clang/Sema/SemaChecking.cpp
+++ b/clang/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;