Commit 9496bae6 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Fix a comparison that differs in signedness

parent 11c5b117
...@@ -37,12 +37,12 @@ public: ...@@ -37,12 +37,12 @@ public:
Video, Video,
Audio Audio
}; };
GraphicsTrack( MediaType type, int trackNumber, QGraphicsItem* parent = 0 ) : QGraphicsWidget( parent ) GraphicsTrack( MediaType type, quint32 trackNumber, QGraphicsItem* parent = 0 ) : QGraphicsWidget( parent )
{ {
m_type = type; m_type = type;
m_trackNumber = trackNumber; m_trackNumber = trackNumber;
} }
int trackNumber() quint32 trackNumber()
{ {
return m_trackNumber; return m_trackNumber;
} }
...@@ -61,7 +61,7 @@ protected: ...@@ -61,7 +61,7 @@ protected:
private: private:
MediaType m_type; MediaType m_type;
int m_trackNumber; quint32 m_trackNumber;
}; };
#endif // GRAPHICSTRACK_HPP #endif // GRAPHICSTRACK_HPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment