summaryrefslogtreecommitdiff
path: root/debian/patches/72_generic_arch_atomic_header_fix.diff
blob: b61efcf305a79e40afb8fd7a4f1b82718bbea763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475767

This mostly affects hppa, but hppa is "community supported" - meaning that the Trolls doesn't care much.

--- a/src/corelib/arch/qatomic_generic.h
+++ b/src/corelib/arch/qatomic_generic.h
@@ -223,7 +223,7 @@
 Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreOrdered(T *newValue)
 {
     return reinterpret_cast<T *>
-        (QBasicAtomicPointer_fetchAndStoreOrdered(&reinterpret_cast<void * volatile *>(&_q_value),
+        (QBasicAtomicPointer_fetchAndStoreOrdered(reinterpret_cast<void * volatile *>(&_q_value),
                                                   newValue));
 }