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

This commit is contained in:
Lukáš Lalinský 2012-03-04 12:01:21 +01:00
parent 77d61c6eca
commit ab8a0ee893

View File

@ -287,7 +287,7 @@ void Ogg::XiphComment::parse(const ByteVector &data)
uint 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);