mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-03-15 03:17:44 +01:00
Silence MSVC C4018 warnings
This commit is contained in:
parent
7731cfaa4f
commit
a2f1ef7572
@ -133,9 +133,7 @@ bool RGNFile::readBuoyInfo(Handle &hdl, quint8 flags, quint32 size,
|
|||||||
bool RGNFile::readLightInfo(Handle &hdl, quint8 flags, quint32 size,
|
bool RGNFile::readLightInfo(Handle &hdl, quint8 flags, quint32 size,
|
||||||
MapData::Point *point) const
|
MapData::Point *point) const
|
||||||
{
|
{
|
||||||
quint16 flags1;
|
quint32 flags1, flags2, unused;
|
||||||
quint8 flags2;
|
|
||||||
quint32 unused;
|
|
||||||
|
|
||||||
if (!(size >= 3 && readUInt16(hdl, flags1) && readUInt8(hdl, flags2)))
|
if (!(size >= 3 && readUInt16(hdl, flags1) && readUInt8(hdl, flags2)))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user