mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-08 19:44:15 +00:00
Fix another overflow that broke line clipping at zoom level 1.
This commit is contained in:
parent
575a24b095
commit
1aea522ef5
@ -398,7 +398,7 @@ drawvec clip_lines(drawvec &geom, int z, int detail, long long buffer) {
|
||||
long long min = 0;
|
||||
long long area = 0xFFFFFFFF;
|
||||
if (z != 0) {
|
||||
area = 1 << (32 - z);
|
||||
area = 1LL << (32 - z);
|
||||
|
||||
min -= buffer * area / 256;
|
||||
area += buffer * area / 256;
|
||||
|
Loading…
x
Reference in New Issue
Block a user