aboutsummaryrefslogtreecommitdiff
path: root/src/projections/isea.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-09-19 13:08:02 +0200
committerGitHub <noreply@github.com>2019-09-19 13:08:02 +0200
commita2a098dd9dc7f0d5acdb90e89612a4aa35b04101 (patch)
tree8588cb33b5267f6bc78b7efbd3de02ad715ee6df /src/projections/isea.cpp
parentae6f1a1760e8393b673b6e63600c4842f4fde261 (diff)
parent02919fb712a84d83780bffd5f2ebdc44451f48b4 (diff)
downloadPROJ-a2a098dd9dc7f0d5acdb90e89612a4aa35b04101.tar.gz
PROJ-a2a098dd9dc7f0d5acdb90e89612a4aa35b04101.zip
Merge pull request #1622 from OSGeo/backport-1620-to-6.2
[Backport 6.2] Assorted set of fixes for boring oss-fuzz related errors (mostly divisions by zero in odd situations)
Diffstat (limited to 'src/projections/isea.cpp')
-rw-r--r--src/projections/isea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/isea.cpp b/src/projections/isea.cpp
index c22e143d..d1aeab4a 100644
--- a/src/projections/isea.cpp
+++ b/src/projections/isea.cpp
@@ -902,7 +902,7 @@ static int isea_hex(struct isea_dgg *g, int tri,
{
throw "Invalid shift";
}
- hex->x = ((int)v.x << 4) + quad;
+ hex->x = ((int)v.x * 16) + quad;
hex->y = v.y;
return 1;