summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/filetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/filetest.cpp')
-rw-r--r--fastos/src/tests/filetest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fastos/src/tests/filetest.cpp b/fastos/src/tests/filetest.cpp
index ad411364c0c..e063ccbc89d 100644
--- a/fastos/src/tests/filetest.cpp
+++ b/fastos/src/tests/filetest.cpp
@@ -278,7 +278,7 @@ public:
Progress(rc, "Opening file 'generated/memorymaptest' read-only");
if (rc) {
bool mmapEnabled;
- char *mmapBuffer = NULL;
+ char *mmapBuffer = nullptr;
mmapEnabled = file.IsMemoryMapped();
mmapBuffer = static_cast<char *>(file.MemoryMapPtr(0));
@@ -832,6 +832,6 @@ int main (int argc, char **argv)
{
FileTest app;
- setvbuf(stdout, NULL, _IOLBF, 8192);
+ setvbuf(stdout, nullptr, _IOLBF, 8192);
return app.Entry(argc, argv);
}