File 0005-Work-around-build-issues-with-Qt-6.10.1.patch of Package fritzing

diff --git a/src/commands.cpp b/src/commands.cpp
index fb808bff..807be618 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -509,7 +509,7 @@ QString FlipItemCommand::getParamString() const {
 	       + BaseCommand::getParamString() +
 	       QString(" id:%1 by:%2")
 	       .arg(m_itemID)
-	       .arg(m_orientation);
+	       .arg((int)m_orientation);
 }
 
 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1830,7 +1830,7 @@ QString RotateFlipLabelCommand::getParamString() const {
 	}
 	
 	result += QString(" id:%1 degrees:%2 orientation:%3")
-	          .arg(m_itemID).arg(m_degrees).arg(m_orientation);
+	          .arg(m_itemID).arg(m_degrees).arg((int)m_orientation);
 	
 	return result;
 }
diff --git a/src/items/itembase.cpp b/src/items/itembase.cpp
index 431bab55..5f7d3146 100644
--- a/src/items/itembase.cpp
+++ b/src/items/itembase.cpp
@@ -2006,7 +2006,7 @@ void ItemBase::debugInfo2(const QString & msg) const
 	                   .arg(this->instanceTitle())
 	                   .arg(this->viewLayerID())
 	                   .arg(this->viewLayerPlacement())
-	                   .arg(this->wireFlags())
+	                   .arg((int)this->wireFlags())
 			   .arg((long) dynamic_cast<const QGraphicsItem *>(this), 0, 16)
 	                   .arg(m_viewID)
 	                   .arg(this->zValue())
diff --git a/src/sketch/sketchwidget.cpp b/src/sketch/sketchwidget.cpp
index f10e56b6..7d5b1d8c 100644
--- a/src/sketch/sketchwidget.cpp
+++ b/src/sketch/sketchwidget.cpp
@@ -1384,7 +1384,7 @@ long SketchWidget::createWire(ConnectorItem * from, ConnectorItem * to,
 	                   .arg(newID)
 	                   .arg(fromPos.x()).arg(fromPos.y())
 	                   .arg(toPos.x()).arg(toPos.y())
-	                   .arg(wireFlags)
+	                   .arg((int)wireFlags)
 	                   .arg(from->attachedToTitle()).arg(from->connectorSharedID())
 	                   .arg(to->attachedToTitle()).arg(to->connectorSharedID())
 	                   .arg(m_viewID)
openSUSE Build Service is sponsored by