Fix compilation warnings

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1019655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Lukáš Lalinský
2009-09-04 08:50:24 +00:00
parent b26f8bf5a8
commit 0adea10728
3 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@ void AttachedPictureFrame::parseFields(const ByteVector &data)
d->mimeType = readStringField(data, String::Latin1, &pos);
/* Now we need at least two more bytes available */
if (pos + 1 >= data.size()) {
if (uint(pos) + 1 >= data.size()) {
debug("Truncated picture frame.");
return;
}