summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-14 16:02:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-22 07:13:58 +0200
commitd239ee4fa43c3936aceff343085bd2c74c25605c (patch)
tree0baea53168dc7a5f39a89ce8389794491810e27b /idlc
parente771d9248dfed643b4737d6a37af21b460bdf949 (diff)
downcast of address which does not point to an object of type 'AstType'
(note: object is of type 'AstDeclaration'); Clang -fsanitize=undefined Change-Id: I08eef7d3e8b298abd16b0c6d72cfb72b75190cd5
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/aststruct.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 7f645564208b..fff256acc338 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -36,7 +36,7 @@ AstStruct::AstStruct(
i != typeParameters.end(); ++i)
{
m_typeParameters.push_back(
- new AstDeclaration(NT_type_parameter, *i, 0));
+ new AstType(NT_type_parameter, *i, 0));
}
}