diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /cad/fritzing/files/patch-src_items_itembase.cpp | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'cad/fritzing/files/patch-src_items_itembase.cpp')
| -rw-r--r-- | cad/fritzing/files/patch-src_items_itembase.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/fritzing/files/patch-src_items_itembase.cpp b/cad/fritzing/files/patch-src_items_itembase.cpp new file mode 100644 index 000000000000..3c9ce55a0bbc --- /dev/null +++ b/cad/fritzing/files/patch-src_items_itembase.cpp @@ -0,0 +1,20 @@ +--- 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 <http://www.gnu.org/ + #include <QClipboard> + #include <qmath.h> + ++#include <cstdint> ++ + ///////////////////////////////// + + 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<const QGraphicsItem *>(this), 0, 16) ++ .arg(static_cast<long>(reinterpret_cast<std::uintptr_t>(dynamic_cast<const QGraphicsItem *>(this))), 0, 16) + .arg(m_viewID) + .arg(this->zValue()) + .arg(this->pos().x()) |
