mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-17 16:20:48 +01:00
Silence clang warnings
This commit is contained in:
parent
33c45f845a
commit
5940a2ced4
@ -76,7 +76,7 @@ bool LBLFile::load(Handle &hdl, const RGNFile *rgn, Handle &rgnHdl)
|
|||||||
_table.resize(size / recordSize);
|
_table.resize(size / recordSize);
|
||||||
if (!seek(hdl, offset))
|
if (!seek(hdl, offset))
|
||||||
return false;
|
return false;
|
||||||
for (quint32 i = 0; i < _table.size(); i++) {
|
for (int i = 0; i < _table.size(); i++) {
|
||||||
if (!readVUInt32(hdl, recordSize, _table[i]))
|
if (!readVUInt32(hdl, recordSize, _table[i]))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -377,7 +377,7 @@ QPixmap LBLFile::image(Handle &hdl, quint32 id) const
|
|||||||
{
|
{
|
||||||
QPixmap pm;
|
QPixmap pm;
|
||||||
|
|
||||||
if (id >= _rasters.size())
|
if ((int)id >= _rasters.size())
|
||||||
return pm;
|
return pm;
|
||||||
|
|
||||||
if (!seek(hdl, _img.offset + _rasters.at(id).offset))
|
if (!seek(hdl, _img.offset + _rasters.at(id).offset))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user