From d239ee4fa43c3936aceff343085bd2c74c25605c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 14 Aug 2013 16:02:04 +0200 Subject: 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 --- idlc/source/aststruct.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idlc') 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)); } } -- cgit