diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-28 10:23:48 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-28 12:00:53 +0300 |
commit | 1d46e83e3087f0d392c74c40d6b562359ed91576 (patch) | |
tree | 7cf4ec38fba5e605106a6792792f4d2db4473eec /include/mbgl/util/char_array_buffer.hpp | |
parent | e1be2c45c1efdbb5d6e14e9431444292adaf3c9a (diff) | |
download | qtlocation-mapboxgl-1d46e83e3087f0d392c74c40d6b562359ed91576.tar.gz |
[core] Use the right types for zoom scale logic
32 bit integers should be enough for zoom scale logic. In shape
annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we
are multiplying the zoom scale with the extent, which might give a
number higher than std::numeric_limits<uint32_t>::max().
Diffstat (limited to 'include/mbgl/util/char_array_buffer.hpp')
0 files changed, 0 insertions, 0 deletions