aboutsummaryrefslogtreecommitdiff
path: root/src/projections/isea.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-26 21:17:33 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-26 21:17:33 +0100
commitc9b27a248d3ed9964b6ac0847a83eba383b62537 (patch)
tree360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/isea.cpp
parentd4d75dc81cd291410371bd7c186eaf7db046261b (diff)
downloadPROJ-c9b27a248d3ed9964b6ac0847a83eba383b62537.tar.gz
PROJ-c9b27a248d3ed9964b6ac0847a83eba383b62537.zip
Fix build issues on Solaris
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;