Fix another overflow that broke line clipping at zoom level 1.

This commit is contained in:
Eric Fischer 2014-11-07 12:51:26 -08:00
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;