diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-02-26 12:05:24 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-02-26 12:43:40 +0100 |
| commit | 8eb46dbbb63d7a880ac787561c907491cffc0917 (patch) | |
| tree | 2d197951da4cf7a62e9f27728fc87995ffa4c7d6 /src/PJ_laea.c | |
| parent | 89b273a10a5ca97510d7bf2c6970c4c2ff5cd740 (diff) | |
| download | PROJ-8eb46dbbb63d7a880ac787561c907491cffc0917.tar.gz PROJ-8eb46dbbb63d7a880ac787561c907491cffc0917.zip | |
Recent clang (e.g MacOSX) warning fixes related to double to _Bool implicit conversions
Diffstat (limited to 'src/PJ_laea.c')
| -rw-r--r-- | src/PJ_laea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_laea.c b/src/PJ_laea.c index d4535dd0..f4976cab 100644 --- a/src/PJ_laea.c +++ b/src/PJ_laea.c @@ -152,7 +152,7 @@ static LP e_inverse (XY xy, PJ *P) { /* Ellipsoidal, inverse */ /*-fallthrough*/ case S_POLE: q = (xy.x * xy.x + xy.y * xy.y); - if (!q) { + if (q == 0.0) { lp.lam = 0.; lp.phi = P->phi0; return (lp); @@ -237,7 +237,7 @@ PJ *PROJECTION(laea) { Q->mode = EQUIT; else Q->mode = OBLIQ; - if (P->es) { + if (P->es != 0.0) { double sinphi; P->e = sqrt(P->es); |
