[llvm-commits] [llvm] r75259 - /llvm/trunk/include/llvm-c/Core.h
Chris Lattner
sabre at nondot.org
Fri Jul 10 11:28:19 PDT 2009
Author: lattner
Date: Fri Jul 10 13:28:19 2009
New Revision: 75259
URL: http://llvm.org/viewvc/llvm-project?rev=75259&view=rev
Log:
add missing *, patch by Peter O'Gorman!
Modified:
llvm/trunk/include/llvm-c/Core.h
Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=75259&r1=75258&r2=75259&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Fri Jul 10 13:28:19 2009
@@ -853,7 +853,7 @@
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);
More information about the llvm-commits
mailing list