1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Silence clang warnings

This commit is contained in:
Martin Tůma 2024-04-23 01:04:38 +02:00
parent 33c45f845a
commit 5940a2ced4

View File

@ -76,7 +76,7 @@ bool LBLFile::load(Handle &hdl, const RGNFile *rgn, Handle &rgnHdl)
_table.resize(size / recordSize);
if (!seek(hdl, offset))
return false;
for (quint32 i = 0; i < _table.size(); i++) {
for (int i = 0; i < _table.size(); i++) {
if (!readVUInt32(hdl, recordSize, _table[i]))
return false;
}
@ -377,7 +377,7 @@ QPixmap LBLFile::image(Handle &hdl, quint32 id) const
{
QPixmap pm;
if (id >= _rasters.size())
if ((int)id >= _rasters.size())
return pm;
if (!seek(hdl, _img.offset + _rasters.at(id).offset))