diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-02 14:26:03 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-02 14:31:41 (GMT) |
commit | d6aba8dd917e8306799743dd33905f2037e00d10 (patch) | |
tree | 7284f3ffb2aa5a0e06f42d2cd936a330a92695a4 | |
parent | fd30cc9fabe6fc023fbca5b93cfdb116fe194514 (diff) | |
download | Qt-d6aba8dd917e8306799743dd33905f2037e00d10.zip Qt-d6aba8dd917e8306799743dd33905f2037e00d10.tar.gz Qt-d6aba8dd917e8306799743dd33905f2037e00d10.tar.bz2 |
Compile with GCC 3.3
Task-number: QTBUG-8554
Reviewed-by: Gabriel
-rw-r--r-- | src/corelib/kernel/qmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index cd7418a..b151040 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -943,7 +943,7 @@ QByteArray QMetaObject::normalizedType(const char *type) if (!type || !*type) return result; - QVarLengthArray<char> stackbuf(int(strlen(type)) + 1); + QVarLengthArray<char> stackbuf(qstrlen(type) + 1); qRemoveWhitespace(type, stackbuf.data()); int templdepth = 0; qNormalizeType(stackbuf.data(), templdepth, result); |