aboutsummaryrefslogtreecommitdiff
path: root/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index d3ec7e35..82449617 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -117,7 +117,7 @@ PJ *pj_latlong_from_proj( PJ *pj_in )
}
else
{
- pj_ctx_set_errno( pj_in->ctx, PJD_ERR_MAJOR_AXIS_NOT_GIVEN );
+ proj_context_errno_set( pj_in->ctx, PJD_ERR_MAJOR_AXIS_NOT_GIVEN );
return nullptr;
}