From 57ff54e6834154245574ce67bc0a54fcc34deeb9 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 9 Dec 2016 16:35:41 -0800 Subject: [PATCH] Fix coordinate overflow by increasing integer size --- mvt.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mvt.hpp b/mvt.hpp index 55c0ff0..f8b91be 100644 --- a/mvt.hpp +++ b/mvt.hpp @@ -8,8 +8,8 @@ enum mvt_operation { }; struct mvt_geometry { - int x; - int y; + long long x; + long long y; int /* mvt_operation */ op; mvt_geometry(int op, long long x, long long y);