diff options
Diffstat (limited to 'fastos/src/tests/performancetest.cpp')
-rw-r--r-- | fastos/src/tests/performancetest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fastos/src/tests/performancetest.cpp b/fastos/src/tests/performancetest.cpp index 1465ee3d223..55174fcc4e3 100644 --- a/fastos/src/tests/performancetest.cpp +++ b/fastos/src/tests/performancetest.cpp @@ -12,14 +12,14 @@ int main (int argc, char **argv) void (*test)(char *buffer) = PerformanceTest; - test(NULL); + test(nullptr); return 0; } void PerformanceTest (char *buffer) { // Cause exception - *static_cast<char *>(NULL) = 'e'; + *static_cast<char *>(nullptr) = 'e'; #if 1 FastOS_File file("test.txt"); |