mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Try to silence some more MSVC warnings
This commit is contained in:
parent
a568efadd2
commit
1468528a62
@ -27,10 +27,10 @@ static bool adjDistInfo(BitStream1 &bs, bool extraBit, bool &eog)
|
|||||||
{
|
{
|
||||||
quint32 data, cnt;
|
quint32 data, cnt;
|
||||||
|
|
||||||
if (!bs.read(extraBit | 8, data))
|
if (!bs.read((int)extraBit | 8, data))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
data <<= !extraBit;
|
data <<= !(int)extraBit;
|
||||||
eog |= (quint8)data & 1;
|
eog |= (quint8)data & 1;
|
||||||
data >>= 1;
|
data >>= 1;
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ static bool adjNodeInfo(BitStream1 &bs, bool extraBit, NodeOffset &offset)
|
|||||||
if (!bs.read(9, data))
|
if (!bs.read(9, data))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
data <<= !extraBit;
|
data <<= !(int)extraBit;
|
||||||
|
|
||||||
if (data & 1) {
|
if (data & 1) {
|
||||||
offset.ext = true;
|
offset.ext = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user