summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-09-12 15:46:05 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-09-20 09:05:45 -0700
commit2d84e2a1aea2581bc674620090ca8dbd971ee7af (patch)
treec6bbc3de0c3f109a1be4805a209c6d525c244713 /platform
parent2fcbd78062552a7fd4471bc0896b79f9888b91e8 (diff)
downloadqtlocation-mapboxgl-2d84e2a1aea2581bc674620090ca8dbd971ee7af.tar.gz
Fix platform dependent number type `unsigned long` -> `uint64_t`
Diffstat (limited to 'platform')
-rw-r--r--platform/default/mbgl/storage/offline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/mbgl/storage/offline.cpp b/platform/default/mbgl/storage/offline.cpp
index 644684c8a6..9ec789f725 100644
--- a/platform/default/mbgl/storage/offline.cpp
+++ b/platform/default/mbgl/storage/offline.cpp
@@ -38,7 +38,7 @@ std::vector<CanonicalTileID> OfflineTilePyramidRegionDefinition::tileCover(Sourc
return result;
}
-unsigned long OfflineTilePyramidRegionDefinition::tileCount(SourceType type, uint16_t tileSize, const Range<uint8_t>& zoomRange) const {
+uint64_t OfflineTilePyramidRegionDefinition::tileCount(SourceType type, uint16_t tileSize, const Range<uint8_t>& zoomRange) const {
const Range<uint8_t> clampedZoomRange = coveringZoomRange(type, tileSize, zoomRange);
unsigned long result = 0;;