diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-26 22:07:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-26 22:07:24 +0100 |
| commit | f78661f84d8c0d7912b31a1b19c2a0cd4f85d061 (patch) | |
| tree | 360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/isea.cpp | |
| parent | 2db1400b34c219764b0000d0ad7b0f589f053432 (diff) | |
| parent | c9b27a248d3ed9964b6ac0847a83eba383b62537 (diff) | |
| download | PROJ-f78661f84d8c0d7912b31a1b19c2a0cd4f85d061.tar.gz PROJ-f78661f84d8c0d7912b31a1b19c2a0cd4f85d061.zip | |
Merge pull request #1293 from rouault/fix_netbsd8_compilation
mutex.cpp: remove _XOPEN_SOURCE definition that causes compilation problem on netBSD 8 and is useless on Linux
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; |
