aboutsummaryrefslogtreecommitdiff
path: root/src/mk_cheby.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-02-26 12:05:24 +0100
committerEven Rouault <even.rouault@spatialys.com>2017-02-26 12:43:40 +0100
commit8eb46dbbb63d7a880ac787561c907491cffc0917 (patch)
tree2d197951da4cf7a62e9f27728fc87995ffa4c7d6 /src/mk_cheby.c
parent89b273a10a5ca97510d7bf2c6970c4c2ff5cd740 (diff)
downloadPROJ-8eb46dbbb63d7a880ac787561c907491cffc0917.tar.gz
PROJ-8eb46dbbb63d7a880ac787561c907491cffc0917.zip
Recent clang (e.g MacOSX) warning fixes related to double to _Bool implicit conversions
Diffstat (limited to 'src/mk_cheby.c')
-rw-r--r--src/mk_cheby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mk_cheby.c b/src/mk_cheby.c
index 32f22f1a..a7cd75c5 100644
--- a/src/mk_cheby.c
+++ b/src/mk_cheby.c
@@ -83,9 +83,9 @@ mk_cheby(projUV a, projUV b, double res, projUV *resid, projUV (*func)(projUV),
for (j = 0; j < nu; ++j) {
ncu[j] = ncv[j] = 0; /* clear column maxes */
for (s = w[j], i = 0; i < nv; ++i, ++s) {
- if (s->u)
+ if (s->u != 0.0)
ncu[j] = i + 1; /* update column max */
- if (s->v)
+ if (s->v != 0.0)
ncv[j] = i + 1;
}
if (ncu[j]) nru = j + 1; /* update row max */