aboutsummaryrefslogtreecommitdiff
path: root/src/projections/isea.cpp
diff options
context:
space:
mode:
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;