summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-01-18 06:40:08 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-01-18 06:40:08 (GMT)
commitdcd7c79357c5ff5096ec4fa13ad16ef8a0497a5f (patch)
treee28610b432e8d9ab3b3c717ad6c1a5c75ebd10ee
parent9f3bffe4d081731a6333b71e8b758e3102cdb636 (diff)
parent5346edef00dd8f541f16217e0960fd6bb4ea0981 (diff)
downloadQt-dcd7c79357c5ff5096ec4fa13ad16ef8a0497a5f.zip
Qt-dcd7c79357c5ff5096ec4fa13ad16ef8a0497a5f.tar.gz
Qt-dcd7c79357c5ff5096ec4fa13ad16ef8a0497a5f.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fix compilation on IA-64 with the Intel compiler: cast properly.
-rw-r--r--src/corelib/arch/qatomic_ia64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/arch/qatomic_ia64.h b/src/corelib/arch/qatomic_ia64.h
index e015863..8c824f3 100644
--- a/src/corelib/arch/qatomic_ia64.h
+++ b/src/corelib/arch/qatomic_ia64.h
@@ -205,7 +205,7 @@ inline bool QBasicAtomicInt::deref()
template <typename T>
Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreAcquire(T *newValue)
{
- return (T *)_InterlockedExchangePointer(&_q_value, newValue);
+ return (T *)_InterlockedExchangePointer(reinterpret_cast<void * volatile*>(&_q_value), newValue);
}
template <typename T>