summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text/qstring
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/text/qstring')
-rw-r--r--tests/auto/corelib/text/qstring/tst_qstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp
index 31f362888c..e63270bfe4 100644
--- a/tests/auto/corelib/text/qstring/tst_qstring.cpp
+++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp
@@ -4486,7 +4486,7 @@ void tst_QString::fromLatin1()
void tst_QString::fromUcs4()
{
- const char32_t *null = 0;
+ const char32_t *null = nullptr;
QString s;
s = QString::fromUcs4( null );
QVERIFY( s.isNull() );