Don't store the output of ByteVector::toUInt() in int, use uint instead

This commit is contained in:
Lukáš Lalinský
2012-03-10 09:12:32 +01:00
parent df1d3e028e
commit 258ae751b5
+1 -1
View File
@@ -287,7 +287,7 @@ void Ogg::XiphComment::parse(const ByteVector &data)
int pos = 0;
int vendorLength = data.mid(0, 4).toUInt(false);
uint vendorLength = data.mid(0, 4).toUInt(false);
pos += 4;
d->vendorID = String(data.mid(pos, vendorLength), String::UTF8);