projects
/
taglib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1d3e0
)
Don't store the output of ByteVector::toUInt() in int, use uint instead
author
Lukáš Lalinský
<lalinsky@gmail.com>
Sun, 4 Mar 2012 11:01:21 +0000
(12:01 +0100)
committer
Lukáš Lalinský
<lalinsky@gmail.com>
Sat, 10 Mar 2012 08:12:32 +0000
(09:12 +0100)
taglib/ogg/xiphcomment.cpp
patch
|
blob
|
history
diff --git
a/taglib/ogg/xiphcomment.cpp
b/taglib/ogg/xiphcomment.cpp
index e7e8fa915a8ede594548012dd6de92bddbc29ab5..b9f408f62a6f03ad17ba14f66e98ee84d3a755ee 100644
(file)
--- a/
taglib/ogg/xiphcomment.cpp
+++ b/
taglib/ogg/xiphcomment.cpp
@@
-287,7
+287,7
@@
void Ogg::XiphComment::parse(const ByteVector &data)
int pos = 0;
- int vendorLength = data.mid(0, 4).toUInt(false);
+
u
int vendorLength = data.mid(0, 4).toUInt(false);
pos += 4;
d->vendorID = String(data.mid(pos, vendorLength), String::UTF8);