aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-29 04:32:54 +0000
committerChris Lattner <sabre@nondot.org>2009-03-29 04:32:54 +0000
commit0eda3b31a672ea486fa92b9bc49a2c91be856b53 (patch)
treebfdc590a618239240279dd3f1a131b26d88926ad /lib/AST/DeclBase.cpp
parent32d3f9cee651b8f7feb34f99ccce00e6fc33d6a0 (diff)
adjust to llvm mainline changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r--lib/AST/DeclBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp
index bc7ac569fc..9ab269d305 100644
--- a/lib/AST/DeclBase.cpp
+++ b/lib/AST/DeclBase.cpp
@@ -141,7 +141,7 @@ void Decl::setLexicalDeclContext(DeclContext *DC) {
MultipleDC *MDC = new MultipleDC();
MDC->SemanticDC = getDeclContext();
MDC->LexicalDC = DC;
- DeclCtx.setPointer(MDC);
+ DeclCtx.setPointer(reinterpret_cast<DeclContext*>(MDC));
DeclCtx.setInt(true);
} else {
getMultipleDC()->LexicalDC = DC;