aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_calcofi.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-18 21:31:28 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-26 10:08:53 +0100
commit8211f48b1ac6c941f46a8f2df90bdbfdcbc85981 (patch)
tree1cd5751c91202070ba3ab6fbbbfbeb7832b980fc /src/PJ_calcofi.cpp
parent919dc5ca50839541568ef5c0f18f2156d639beef (diff)
downloadPROJ-8211f48b1ac6c941f46a8f2df90bdbfdcbc85981.tar.gz
PROJ-8211f48b1ac6c941f46a8f2df90bdbfdcbc85981.zip
cpp conversion: fix zero-as-null-pointer-constant warnings
Diffstat (limited to 'src/PJ_calcofi.cpp')
-rw-r--r--src/PJ_calcofi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_calcofi.cpp b/src/PJ_calcofi.cpp
index ed4cfe86..e81e4d2a 100644
--- a/src/PJ_calcofi.cpp
+++ b/src/PJ_calcofi.cpp
@@ -141,7 +141,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */
PJ *PROJECTION(calcofi) {
- P->opaque = 0;
+ P->opaque = nullptr;
/* if the user has specified +lon_0 or +k0 for some reason,
we're going to ignore it so that xy is consistent with point O */