mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Fix another overflow that broke line clipping at zoom level 1.
This commit is contained in:
+1
-1
@@ -398,7 +398,7 @@ drawvec clip_lines(drawvec &geom, int z, int detail, long long buffer) {
|
|||||||
long long min = 0;
|
long long min = 0;
|
||||||
long long area = 0xFFFFFFFF;
|
long long area = 0xFFFFFFFF;
|
||||||
if (z != 0) {
|
if (z != 0) {
|
||||||
area = 1 << (32 - z);
|
area = 1LL << (32 - z);
|
||||||
|
|
||||||
min -= buffer * area / 256;
|
min -= buffer * area / 256;
|
||||||
area += buffer * area / 256;
|
area += buffer * area / 256;
|
||||||
|
|||||||
Reference in New Issue
Block a user