add missing *, patch by Peter O'Gorman!
authorChris Lattner <sabre@nondot.org>
Fri, 10 Jul 2009 18:28:19 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Jul 2009 18:28:19 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75259 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h

index 9d8577380bafecbf0e024be147bf62d4cb4d8bf6..a22d12ed86f4cdbce6365e38f4f1bb75164e094f 100644 (file)
@@ -853,7 +853,7 @@ namespace llvm {
   template<typename T>
   inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
     #if DEBUG
-    for (LLVMValueRef *I = Vals, E = Vals + Length; I != E; ++I)
+    for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
       cast<T>(*I);
     #endif
     return reinterpret_cast<T**>(Vals);