summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb797115561d14adc0ef941c39eb8ad69af18727f (patch)
tree73af21ca0e79867e1a71b921ea93c356f000b277 /llvm/include/llvm-c
parent4898c32ce9a2a0596faa0f3883df6cd0e0061546 (diff)
downloadbcm5719-llvm-b797115561d14adc0ef941c39eb8ad69af18727f.tar.gz
bcm5719-llvm-b797115561d14adc0ef941c39eb8ad69af18727f.zip
add missing *, patch by Peter O'Gorman!
llvm-svn: 75259
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 9d8577380ba..a22d12ed86f 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud