From e438c2d761c288e8e65b3a6591d87a3463166839 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 6 Nov 2009 15:36:21 +0000 Subject: [PATCH] A Type suffices as base type for DwarfSubrangeType. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33918 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/debug_info/DwarfTypes.cpp | 2 +- src/apps/debugger/debug_info/DwarfTypes.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/debugger/debug_info/DwarfTypes.cpp b/src/apps/debugger/debug_info/DwarfTypes.cpp index 36126dacfa..11d902e829 100644 --- a/src/apps/debugger/debug_info/DwarfTypes.cpp +++ b/src/apps/debugger/debug_info/DwarfTypes.cpp @@ -1113,7 +1113,7 @@ DwarfEnumerationType::AddValue(DwarfEnumeratorValue* value) DwarfSubrangeType::DwarfSubrangeType(DwarfTypeContext* typeContext, - const BString& name, DIESubrangeType* entry, DwarfType* baseType, + const BString& name, DIESubrangeType* entry, Type* baseType, const BVariant& lowerBound, const BVariant& upperBound) : DwarfType(typeContext, name, entry), diff --git a/src/apps/debugger/debug_info/DwarfTypes.h b/src/apps/debugger/debug_info/DwarfTypes.h index b761944787..cc13265d56 100644 --- a/src/apps/debugger/debug_info/DwarfTypes.h +++ b/src/apps/debugger/debug_info/DwarfTypes.h @@ -423,7 +423,7 @@ class DwarfSubrangeType : public SubrangeType, public DwarfType { public: DwarfSubrangeType(DwarfTypeContext* typeContext, const BString& name, DIESubrangeType* entry, - DwarfType* baseType, + Type* baseType, const BVariant& lowerBound, const BVariant& upperBound); ~DwarfSubrangeType(); @@ -440,7 +440,7 @@ public: private: DIESubrangeType* fEntry; - DwarfType* fBaseType; + Type* fBaseType; BVariant fLowerBound; BVariant fUpperBound; };