summaryrefslogtreecommitdiff
path: root/debian/patches/72_generic_arch_atomic_header_fix.diff
blob: a6a1f8d5923712f0d90d0ef227cab80259934aee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.

Index: b/src/corelib/arch/qatomic_generic.h
===================================================================
--- 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));
 }