diff --git a/include/sch_item_struct.h b/include/sch_item_struct.h index 3f71041b4d..5ac910dab2 100644 --- a/include/sch_item_struct.h +++ b/include/sch_item_struct.h @@ -85,7 +85,7 @@ class DANGLING_END_ITEM { private: /// A pointer to the connectable object. - const void* m_item; + const EDA_ITEM* m_item; /// The position of the connection point. wxPoint m_pos; @@ -94,7 +94,7 @@ private: DANGLING_END_T m_type; public: - DANGLING_END_ITEM( DANGLING_END_T aType, const void* aItem, const wxPoint& aPosition ) + DANGLING_END_ITEM( DANGLING_END_T aType, const EDA_ITEM* aItem, const wxPoint& aPosition ) { m_item = aItem; m_type = aType; @@ -102,7 +102,7 @@ public: } wxPoint GetPosition() const { return m_pos; } - const void* GetItem() const { return m_item; } + const EDA_ITEM* GetItem() const { return m_item; } DANGLING_END_T GetType() const { return m_type; } };