diff options
Diffstat (limited to 'src/PJ_lcc.cpp')
| -rw-r--r-- | src/PJ_lcc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_lcc.cpp b/src/PJ_lcc.cpp index 9483c085..7d6e3f57 100644 --- a/src/PJ_lcc.cpp +++ b/src/PJ_lcc.cpp @@ -82,7 +82,7 @@ PJ *PROJECTION(lcc) { int secant; 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; |
