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_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pj_log.cpp') diff --git a/src/pj_log.cpp b/src/pj_log.cpp index 6654691c..0f81dc13 100644 --- a/src/pj_log.cpp +++ b/src/pj_log.cpp @@ -68,7 +68,7 @@ void pj_vlog( projCtx ctx, int level, const char *fmt, va_list args ) return; msg_buf = (char *) malloc(100000); - if( msg_buf == NULL ) + if( msg_buf == nullptr ) return; /* we should use vsnprintf where available once we add configure detect.*/ -- cgit v1.2.3