diff options
Diffstat (limited to 'src/PJ_loxim.cpp')
| -rw-r--r-- | src/PJ_loxim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_loxim.cpp b/src/PJ_loxim.cpp index fc412997..f68e844a 100644 --- a/src/PJ_loxim.cpp +++ b/src/PJ_loxim.cpp @@ -57,7 +57,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */ PJ *PROJECTION(loxim) { 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; |
