--- src/items/itembase.cpp.orig 2025-04-02 10:33:24 UTC +++ src/items/itembase.cpp @@ -55,6 +55,8 @@ along with Fritzing. If not, see #include +#include + ///////////////////////////////// static QRegularExpression NumberMatcher; @@ -1999,7 +2001,7 @@ void ItemBase::debugInfo2(const QString & msg) const .arg(this->viewLayerID()) .arg(this->viewLayerPlacement()) .arg(this->wireFlags()) - .arg((long) dynamic_cast(this), 0, 16) + .arg(static_cast(reinterpret_cast(dynamic_cast(this))), 0, 16) .arg(m_viewID) .arg(this->zValue()) .arg(this->pos().x())