aboutsummaryrefslogtreecommitdiff
path: root/src/pj_utils.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/pj_utils.c
parent2f467d57d1846857eb8ac7e855646c19d6b66737 (diff)
downloadPROJ-72016ab016efe153f475a38596586fecd5b996d2.tar.gz
PROJ-72016ab016efe153f475a38596586fecd5b996d2.zip
Convert errno literals to corresponding PJD symbol
Diffstat (limited to 'src/pj_utils.c')
-rw-r--r--src/pj_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_utils.c b/src/pj_utils.c
index d2037032..5a1faf72 100644
--- a/src/pj_utils.c
+++ b/src/pj_utils.c
@@ -113,7 +113,7 @@ PJ *pj_latlong_from_proj( PJ *pj_in )
}
else
{
- pj_ctx_set_errno( pj_in->ctx, -13 );
+ pj_ctx_set_errno( pj_in->ctx, PJD_ERR_MAJOR_AXIS_NOT_GIVEN );
return NULL;
}