aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_urm5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_urm5.cpp')
-rw-r--r--src/PJ_urm5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_urm5.cpp b/src/PJ_urm5.cpp
index f16d1534..0e3c7e3c 100644
--- a/src/PJ_urm5.cpp
+++ b/src/PJ_urm5.cpp
@@ -31,7 +31,7 @@ static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */
PJ *PROJECTION(urm5) {
double alpha, t;
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;
@@ -49,7 +49,7 @@ PJ *PROJECTION(urm5) {
Q->rmn = 1. / (Q->m * Q->n);
P->es = 0.;
- P->inv = 0;
+ P->inv = nullptr;
P->fwd = s_forward;
return P;