1
0
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:
Martin Tůma 2017-08-31 15:32:44 +02:00
parent 35818ce16e
commit 8e932b966c

View File

@ -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)))