aboutsummaryrefslogtreecommitdiff
path: root/src/pj_pr_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_pr_list.cpp')
-rw-r--r--src/pj_pr_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pj_pr_list.cpp b/src/pj_pr_list.cpp
index 4e71e471..b8ad2c04 100644
--- a/src/pj_pr_list.cpp
+++ b/src/pj_pr_list.cpp
@@ -67,7 +67,7 @@ char *pj_get_def( PJ *P, int options )
definition = (char *) pj_malloc(def_max);
if (!definition)
- return NULL;
+ return nullptr;
definition[0] = '\0';
for (t = P->params; t; t = t->next)
@@ -91,7 +91,7 @@ char *pj_get_def( PJ *P, int options )
}
else {
pj_dalloc( definition );
- return NULL;
+ return nullptr;
}
}