summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 18:28:19 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 18:28:19 +0000
commit8b16f70a1a7d300d9561389a03b30373ecc0813d (patch)
tree9b1a493214f245dc2b24fbf83e85a5794d401088 /include/llvm-c
parent2e4ddf6218d1a7360a3d3836f80056703f149e85 (diff)
downloadllvm-8b16f70a1a7d300d9561389a03b30373ecc0813d.tar.gz
llvm-8b16f70a1a7d300d9561389a03b30373ecc0813d.tar.bz2
llvm-8b16f70a1a7d300d9561389a03b30373ecc0813d.tar.xz
add missing *, patch by Peter O'Gorman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 9d8577380b..a22d12ed86 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -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);