diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 21:17:33 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 22:51:12 +0100 |
| commit | 53e93c2da6be64abf3c343942618384f4b8de7da (patch) | |
| tree | 360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/isea.cpp | |
| parent | 79b8794d69b232e1ea9dd88627506f58af8f510b (diff) | |
| download | PROJ-6.0.0.tar.gz PROJ-6.0.0.zip | |
Fix build issues on Solaris6.0.0
Diffstat (limited to 'src/projections/isea.cpp')
| -rw-r--r-- | src/projections/isea.cpp | 2 |
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; |
