Core: Fix gcc warning about signed/unsigned integer comparison
Fix warning: 'comparison between signed and unsigned integer expressions' Change-Id: I5ce2857115137f9a06eddc74fda55ae49e37d345 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
10e0e8afda
commit
fdc64a445d
@ -782,7 +782,7 @@ bool QTranslatorPrivate::do_load(const uchar *data, int len, const QString &dire
|
||||
data += 4;
|
||||
if (!tag || !blockLen)
|
||||
break;
|
||||
if (end - data < blockLen) {
|
||||
if (quint32(end - data) < blockLen) {
|
||||
ok = false;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user