mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-21 04:39:10 +02:00
Silence MSVC warning
This commit is contained in:
parent
815071fc55
commit
a568efadd2
@ -203,7 +203,7 @@ bool IMG::readBlock(int blockNum, char *data)
|
|||||||
{
|
{
|
||||||
if (!_file.seek((quint64)blockNum << _blockBits))
|
if (!_file.seek((quint64)blockNum << _blockBits))
|
||||||
return false;
|
return false;
|
||||||
if (read(data, 1U<<_blockBits) < 1U<<_blockBits)
|
if (read(data, (qint64)(1U<<_blockBits)) < (qint64)(1U<<_blockBits))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user