aboutsummaryrefslogtreecommitdiff
path: root/src/proj_mdist.c
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
committerKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
commit72016ab016efe153f475a38596586fecd5b996d2 (patch)
treef2d168a20dcd482448bdf73799f2e209c1e3b91a /src/proj_mdist.c
parent2f467d57d1846857eb8ac7e855646c19d6b66737 (diff)
downloadPROJ-72016ab016efe153f475a38596586fecd5b996d2.tar.gz
PROJ-72016ab016efe153f475a38596586fecd5b996d2.zip
Convert errno literals to corresponding PJD symbol
Diffstat (limited to 'src/proj_mdist.c')
-rw-r--r--src/proj_mdist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_mdist.c b/src/proj_mdist.c
index 4ab50ee9..02d9ebee 100644
--- a/src/proj_mdist.c
+++ b/src/proj_mdist.c
@@ -117,6 +117,6 @@ proj_inv_mdist(projCtx ctx, double dist, const void *data) {
return phi;
}
/* convergence failed */
- pj_ctx_set_errno(ctx, -17);
+ pj_ctx_set_errno(ctx, PJD_ERR_NON_CONV_INV_MERI_DIST);
return phi;
}