diff options
Diffstat (limited to 'src/pj_fwd.cpp')
| -rw-r--r-- | src/pj_fwd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_fwd.cpp b/src/pj_fwd.cpp index 38443f07..e8f73999 100644 --- a/src/pj_fwd.cpp +++ b/src/pj_fwd.cpp @@ -74,7 +74,7 @@ static PJ_COORD fwd_prepare (PJ *P, PJ_COORD coo) { if (P->hgridshift) coo = proj_trans (P->hgridshift, PJ_INV, coo); - else if (P->helmert || (P->cart_wgs84 != 0 && P->cart != 0)) { + else if (P->helmert || (P->cart_wgs84 != nullptr && P->cart != nullptr)) { coo = proj_trans (P->cart_wgs84, PJ_FWD, coo); /* Go cartesian in WGS84 frame */ if( P->helmert ) coo = proj_trans (P->helmert, PJ_INV, coo); /* Step into local frame */ |
