]> granicus.if.org Git - clang/commitdiff
Fix %p format checking, patch by Keith Bauer.
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 17:39:38 +0000 (17:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 17:39:38 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41454 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaChecking.cpp

index d5445a17eea0c6d95bfd3b1730c7202406737d75..e03507b79684b523da3dd301f2f14668caed296d 100644 (file)
@@ -308,7 +308,7 @@ Sema::CheckPrintfArguments(Expr *Fn,
       case 'C':
       case 'S':
       case 's':
-      case 'P': 
+      case 'p': 
         ++numConversions;
         CurrentState = state_OrdChr;
         break;