Permalink
Browse files

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

  • Loading branch information...
1 parent 77d61c6 commit ab8a0ee8937256311e649a88e8ddd7c7f870ad59 @lalinsky lalinsky committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 taglib/ogg/xiphcomment.cpp
@@ -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);

0 comments on commit ab8a0ee

Please sign in to comment.