aboutsummaryrefslogtreecommitdiff
path: root/src/pj_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_log.cpp')
-rw-r--r--src/pj_log.cpp2
1 files changed, 1 insertions, 1 deletions
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.*/