mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 11:52:08 +01:00
Fixed msvc warning
This commit is contained in:
parent
35818ce16e
commit
8e932b966c
@ -137,7 +137,8 @@ bool OZF::readTileTable()
|
|||||||
return false;
|
return false;
|
||||||
if (!readValue(tableOffset))
|
if (!readValue(tableOffset))
|
||||||
return false;
|
return false;
|
||||||
zooms = (_file.size() - tableOffset - sizeof(quint32)) / sizeof(quint32);
|
zooms = (int)((_file.size() - tableOffset - sizeof(quint32))
|
||||||
|
/ sizeof(quint32));
|
||||||
|
|
||||||
for (int i = 0; i < zooms - 2; i++) {
|
for (int i = 0; i < zooms - 2; i++) {
|
||||||
if (!_file.seek(tableOffset + i * sizeof(quint32)))
|
if (!_file.seek(tableOffset + i * sizeof(quint32)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user