From 8211f48b1ac6c941f46a8f2df90bdbfdcbc85981 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 18 Dec 2018 21:31:28 +0100 Subject: cpp conversion: fix zero-as-null-pointer-constant warnings --- src/PJ_calcofi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PJ_calcofi.cpp') 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 */ -- cgit v1.2.3