diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-12-16 13:39:15 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-12-17 08:46:40 (GMT) |
commit | 3290135e88bd8a01e20842c9d1cdca5fe569bf62 (patch) | |
tree | d71742cd2816553ce55875ba48d4a3e54e7cb0f7 /src/script | |
parent | 35ae0b8146bca7a61203ee347654aed27951439c (diff) | |
download | Qt-3290135e88bd8a01e20842c9d1cdca5fe569bf62.zip Qt-3290135e88bd8a01e20842c9d1cdca5fe569bf62.tar.gz Qt-3290135e88bd8a01e20842c9d1cdca5fe569bf62.tar.bz2 |
Symbian compile fix
armv5 complained that the call to QChar::category() was ambiguous,
because there is a version taking an uint, and a version taking ushort as
argument.
Reviewed-by: Christiaan Janssen
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/bridge/qscriptdeclarativeclass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bridge/qscriptdeclarativeclass.cpp b/src/script/bridge/qscriptdeclarativeclass.cpp index 92248a0..13736bc 100644 --- a/src/script/bridge/qscriptdeclarativeclass.cpp +++ b/src/script/bridge/qscriptdeclarativeclass.cpp @@ -473,7 +473,7 @@ bool QScriptDeclarativeClass::startsWithUpper(const Identifier &identifier) JSC::UString::Rep *r = (JSC::UString::Rep *)identifier; if (r->size() < 1) return false; - return QChar::category(r->data()[0]) == QChar::Letter_Uppercase; + return QChar::category((ushort)(r->data()[0])) == QChar::Letter_Uppercase; } quint32 QScriptDeclarativeClass::toArrayIndex(const Identifier &identifier, bool *ok) |