diff options
author | Liang Qi <liang.qi@nokia.com> | 2011-03-10 15:43:53 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2011-03-10 15:43:53 (GMT) |
commit | 98a4ec8358c6da17c8dd77c504a7e4d76e8c612a (patch) | |
tree | eeeb3c08311a8f8dd3e9fc24d021d63dbfe25b7f /src/corelib | |
parent | 555f52c498c3ba67041c880701a66224e7b321b0 (diff) | |
download | Qt-98a4ec8358c6da17c8dd77c504a7e4d76e8c612a.zip Qt-98a4ec8358c6da17c8dd77c504a7e4d76e8c612a.tar.gz Qt-98a4ec8358c6da17c8dd77c504a7e4d76e8c612a.tar.bz2 |
Cast int to HALData::TAttribute for QT_HALData_ENumCpus and compile with RVCT4.
Reviewed-by: Jani Hautakangas
Reviewed-by: Shane Kearns
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/thread/qthread_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index 9bfd85a..c2bc895 100644 --- a/src/corelib/thread/qthread_unix.cpp +++ b/src/corelib/thread/qthread_unix.cpp @@ -436,7 +436,7 @@ int QThread::idealThreadCount() if (QSysInfo::symbianVersion() >= QSysInfo::SV_SF_3) { TInt inumcpus; TInt err; - err = HAL::Get(QT_HALData_ENumCpus, inumcpus); + err = HAL::Get((HALData::TAttribute)QT_HALData_ENumCpus, inumcpus); if (err != KErrNone) { cores = 1; } else if ( inumcpus <= 0 ) { |