aboutsummaryrefslogtreecommitdiff
path: root/src/pj_auth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_auth.cpp')
-rw-r--r--src/pj_auth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_auth.cpp b/src/pj_auth.cpp
index d6024671..cde60a29 100644
--- a/src/pj_auth.cpp
+++ b/src/pj_auth.cpp
@@ -17,7 +17,7 @@
pj_authset(double es) {
double t, *APA;
- if ((APA = (double *)pj_malloc(APA_SIZE * sizeof(double))) != NULL) {
+ if ((APA = (double *)pj_malloc(APA_SIZE * sizeof(double))) != nullptr) {
APA[0] = es * P00;
t = es * es;
APA[0] += t * P01;