aboutsummaryrefslogtreecommitdiff
path: root/src/projections/aitoff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/aitoff.cpp')
-rw-r--r--src/projections/aitoff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/aitoff.cpp b/src/projections/aitoff.cpp
index 7920309c..d02e7761 100644
--- a/src/projections/aitoff.cpp
+++ b/src/projections/aitoff.cpp
@@ -170,7 +170,7 @@ static PJ_LP aitoff_s_inverse (PJ_XY xy, PJ *P) { /* Spheroidal, inver
if (iter == MAXITER && round == MAXROUND)
{
- pj_ctx_set_errno( P->ctx, PJD_ERR_NON_CONVERGENT );
+ proj_context_errno_set( P->ctx, PJD_ERR_NON_CONVERGENT );
/* fprintf(stderr, "Warning: Accuracy of 1e-12 not reached. Last increments: dlat=%e and dlon=%e\n", dp, dl); */
}