diff options
| author | Charles Karney <charles@karney.com> | 2016-02-16 20:23:01 -0500 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2016-02-16 20:23:01 -0500 |
| commit | 56a7dc4a74f36e2aa968481bf963a239e4f21709 (patch) | |
| tree | 327ec6f690f7d467578c864cf3ffce66f465a6fe /src/proj_etmerc.c | |
| parent | a12bfb7c207449c9768fa7591684a0240d2e6898 (diff) | |
| parent | f1d58cc00c782934cab507f67b8b5ed97b526ffe (diff) | |
| download | PROJ-56a7dc4a74f36e2aa968481bf963a239e4f21709.tar.gz PROJ-56a7dc4a74f36e2aa968481bf963a239e4f21709.zip | |
Merge pull request #355 from cffk/geod-1.46
Upgrade geodesic library from GeographicLib 1.46.
Diffstat (limited to 'src/proj_etmerc.c')
| -rw-r--r-- | src/proj_etmerc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_etmerc.c b/src/proj_etmerc.c index a5351f5d..3ef0903f 100644 --- a/src/proj_etmerc.c +++ b/src/proj_etmerc.c @@ -308,7 +308,7 @@ ENTRY0(utm) else E_ERROR(-35) else /* nearest central meridian input */ - if ((zone = floor((adjlon(P->lam0) + PI) * 30. / PI)) < 0) + if ((zone = (int)(floor((adjlon(P->lam0) + PI) * 30. / PI))) < 0) zone = 0; else if (zone >= 60) zone = 59; |
