]> git.sesse.net Git - cubemap/blobdiff - stats.cpp
Use nullptr instead of NULL everywhere.
[cubemap] / stats.cpp
index 661a17bf9100b1ea4c044e89ddeba667942f7894..5193243aafb82ab87bb6ca577a9c14ddfa5a1874 100644 (file)
--- a/stats.cpp
+++ b/stats.cpp
@@ -47,7 +47,7 @@ void StatsThread::do_work()
                }
 
                fp = fdopen(fd, "w");
-               if (fp == NULL) {
+               if (fp == nullptr) {
                        log_perror("fdopen");
                        safe_close(fd);
                        if (unlink(filename) == -1) {