aboutsummaryrefslogtreecommitdiff
path: root/src/projections/isea.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-02-26 22:07:58 +0100
committerKristian Evers <kristianevers@gmail.com>2019-02-26 22:07:58 +0100
commit5284dfd3c7d66893b6e8f23c0b18bee26aadabc3 (patch)
tree360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/isea.cpp
parentc40c91610e5fe98511ec24669044abf0a7bbc2fa (diff)
parentf78661f84d8c0d7912b31a1b19c2a0cd4f85d061 (diff)
downloadPROJ-5284dfd3c7d66893b6e8f23c0b18bee26aadabc3.tar.gz
PROJ-5284dfd3c7d66893b6e8f23c0b18bee26aadabc3.zip
Merge remote-tracking branch 'osgeo/master' into 6.0
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 3a0a0a48..d53317c1 100644
--- a/src/projections/isea.cpp
+++ b/src/projections/isea.cpp
@@ -847,7 +847,7 @@ static long isea_disn(struct isea_dgg *g, int quad, struct isea_pt *di) {
return g->serial;
}
/* hexes in a quad */
- hexes = lround(pow(g->aperture, g->resolution));
+ hexes = lround(pow(static_cast<double>(g->aperture), static_cast<double>(g->resolution)));
if (quad == 11) {
g->serial = 1 + 10 * hexes + 1;
return g->serial;