Path: blob/main/cad/fritzing/files/patch-src_items_itembase.cpp
19260 views
--- src/items/itembase.cpp.orig 2025-04-02 10:33:24 UTC1+++ src/items/itembase.cpp2@@ -55,6 +55,8 @@ along with Fritzing. If not, see <http://www.gnu.org/3#include <QClipboard>4#include <qmath.h>56+#include <cstdint>7+8/////////////////////////////////910static QRegularExpression NumberMatcher;11@@ -1999,7 +2001,7 @@ void ItemBase::debugInfo2(const QString & msg) const12.arg(this->viewLayerID())13.arg(this->viewLayerPlacement())14.arg(this->wireFlags())15- .arg((long) dynamic_cast<const QGraphicsItem *>(this), 0, 16)16+ .arg(static_cast<long>(reinterpret_cast<std::uintptr_t>(dynamic_cast<const QGraphicsItem *>(this))), 0, 16)17.arg(m_viewID)18.arg(this->zValue())19.arg(this->pos().x())202122