diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-11-11 15:24:59 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-11-12 10:46:47 -0800 |
commit | 6748b6155e0bdb61aa33ecfe467711ce7e1189c3 (patch) | |
tree | 5850f61ba16ce77542bedab0ae85bc9000417bb1 /platform/ios/MGLMapView.mm | |
parent | aae7f90e37ac9c074c3bc2205116d9827045027c (diff) | |
download | qtlocation-mapboxgl-6748b6155e0bdb61aa33ecfe467711ce7e1189c3.tar.gz |
[core] Fixed bit-shifting error in exponential backoff
This change fixes a bug introduced in 4d5c6333be52aae4a9c72f4b01941e16ead503f4 for #2727. 1 << 32 would exceed the size of int64_t. The static analyzer reported undefined behavior here because std::min() might or might not return 32.
Diffstat (limited to 'platform/ios/MGLMapView.mm')
0 files changed, 0 insertions, 0 deletions