diff options
Diffstat (limited to 'fastos/src/tests/thread_joinwait_test.cpp')
-rw-r--r-- | fastos/src/tests/thread_joinwait_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fastos/src/tests/thread_joinwait_test.cpp b/fastos/src/tests/thread_joinwait_test.cpp index 98e0a1ac467..05ab1627334 100644 --- a/fastos/src/tests/thread_joinwait_test.cpp +++ b/fastos/src/tests/thread_joinwait_test.cpp @@ -38,7 +38,7 @@ class Thread_JoinWait_Test : public ThreadTestBase jobs[i].ownThread = pool.NewThread(this, static_cast<void *>(&jobs[i])); - rc = (jobs[i].ownThread != NULL); + rc = (jobs[i].ownThread != nullptr); Progress(rc, "Creating Thread %d", i+1); if(!rc) @@ -56,7 +56,7 @@ class Thread_JoinWait_Test : public ThreadTestBase static_cast<void *> (&jobs[lastThreadNum])); - rc = (lastThread != NULL); + rc = (lastThread != nullptr); Progress(rc, "Creating last thread"); if(rc) @@ -115,6 +115,6 @@ int Thread_JoinWait_Test::Main () int main (int argc, char **argv) { Thread_JoinWait_Test app; - setvbuf(stdout, NULL, _IOLBF, 8192); + setvbuf(stdout, nullptr, _IOLBF, 8192); return app.Entry(argc, argv); } |