diff options
Diffstat (limited to 'sal/qa/osl/setthreadname/test-setthreadname.cxx')
-rw-r--r-- | sal/qa/osl/setthreadname/test-setthreadname.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/setthreadname/test-setthreadname.cxx b/sal/qa/osl/setthreadname/test-setthreadname.cxx index 3b05e392c20d..02e6eb76855a 100644 --- a/sal/qa/osl/setthreadname/test-setthreadname.cxx +++ b/sal/qa/osl/setthreadname/test-setthreadname.cxx @@ -46,7 +46,7 @@ void TestThread::run() { } #endif setName("TestThread"); - if (std::getenv("URE_TEST_SETTHREADNAME") != 0) { + if (std::getenv("URE_TEST_SETTHREADNAME") != nullptr) { // On Linux, the thread name can now be observed with "ps -L"; on // Windows with the Microsoft compiler, the thread name can now be // observed in a debugger. |