mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 04:18:01 +00:00
Fix line clipping overflow bug
This commit is contained in:
parent
3cd6fcfbe0
commit
a09bf3469d
@ -395,8 +395,8 @@ drawvec clip_lines(drawvec &geom, int z, int detail, long long buffer) {
|
||||
double x2 = geom[i - 0].x;
|
||||
double y2 = geom[i - 0].y;
|
||||
|
||||
unsigned min = 0;
|
||||
unsigned area = 0xFFFFFFFF;
|
||||
long long min = 0;
|
||||
long long area = 0xFFFFFFFF;
|
||||
if (z != 0) {
|
||||
area = 1 << (32 - z);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user