aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_lagrng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_lagrng.cpp')
-rw-r--r--src/PJ_lagrng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_lagrng.cpp b/src/PJ_lagrng.cpp
index 30306db4..8c0150aa 100644
--- a/src/PJ_lagrng.cpp
+++ b/src/PJ_lagrng.cpp
@@ -72,7 +72,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */
PJ *PROJECTION(lagrng) {
double phi1;
struct pj_opaque *Q = static_cast<struct pj_opaque*>(pj_calloc (1, sizeof (struct pj_opaque)));
- if (0==Q)
+ if (nullptr==Q)
return pj_default_destructor (P, ENOMEM);
P->opaque = Q;