summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/coretest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/coretest.cpp')
-rw-r--r--fastos/src/tests/coretest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fastos/src/tests/coretest.cpp b/fastos/src/tests/coretest.cpp
index 2337c392730..a53eaf9d2a4 100644
--- a/fastos/src/tests/coretest.cpp
+++ b/fastos/src/tests/coretest.cpp
@@ -8,7 +8,7 @@ bomb(void)
{
char *p;
- p = NULL;
+ p = nullptr;
*p = 4;
}
@@ -29,8 +29,8 @@ bombMain(void)
FastS_Bomber bomber;
FastOS_ThreadInterface *thread;
- thread = pool->NewThread(&bomber, NULL);
- if (thread != NULL)
+ thread = pool->NewThread(&bomber, nullptr);
+ if (thread != nullptr)
thread->Join();
pool->Close();
@@ -60,7 +60,7 @@ int
main(int argc, char **argv)
{
FastS_CoreTestApp app;
- setvbuf(stdout, NULL, _IOLBF, 8192);
+ setvbuf(stdout, nullptr, _IOLBF, 8192);
if (argc == 1)
return app.Entry(argc, argv);
else