diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-05-19 08:20:53 (GMT) |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-05-19 08:25:13 (GMT) |
commit | aef98360bfa5a5f3013c8fb29ed589545bb7a3cf (patch) | |
tree | fb89215277a75b31f63ab60a38b330a1d130e785 /src/corelib | |
parent | 56ffcd446d7b4a411fbada3a63d06c6a3e262a36 (diff) | |
download | Qt-aef98360bfa5a5f3013c8fb29ed589545bb7a3cf.zip Qt-aef98360bfa5a5f3013c8fb29ed589545bb7a3cf.tar.gz Qt-aef98360bfa5a5f3013c8fb29ed589545bb7a3cf.tar.bz2 |
Fix compiler warning: use C++ cast operator, not the old-style C cast.
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qbytearraymatcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qbytearraymatcher.h b/src/corelib/tools/qbytearraymatcher.h index 633e92c..970cbcc 100644 --- a/src/corelib/tools/qbytearraymatcher.h +++ b/src/corelib/tools/qbytearraymatcher.h @@ -70,7 +70,7 @@ public: inline QByteArray pattern() const { if (q_pattern.isNull()) - return QByteArray((const char*)p.p, p.l); + return QByteArray(reinterpret_cast<const char*>(p.p), p.l); return q_pattern; } |