Commit efa85d7f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix warning about uint vs int comparison

parent daa7341c
......@@ -229,7 +229,7 @@ void DocumentPrivate::parseEXTH(const QByteArray& data)
quint32 records=readBELong(data,exthoffs+8);
quint32 offset=exthoffs+12;
for (unsigned int i=0;i<records;i++) {
if (offset+4>data.size()) break;
if (offset+4 > quint32(data.size())) break;
quint32 type=readBELong(data,offset);
switch (type) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment