File overflow.patch of Package libqt5-qtdeclarative
--- a/src/qml/jsruntime/qv4value_p.h.orig 2015-08-23 09:15:03.157582462 +0200
+++ b/src/qml/jsruntime/qv4value_p.h 2015-08-23 09:19:46.516039994 +0200
@@ -117,12 +117,12 @@ public:
Q_ALWAYS_INLINE Heap::Base *m() const
{
Heap::Base *b;
- memcpy(&b, &_val, 8);
+ memcpy(&b, &_val, QT_POINTER_SIZE);
return b;
}
Q_ALWAYS_INLINE void setM(Heap::Base *b)
{
- memcpy(&_val, &b, 8);
+ memcpy(&_val, &b, QT_POINTER_SIZE);
}
#else // !QV4_USE_64_BIT_VALUE_ENCODING
Q_ALWAYS_INLINE Heap::Base *m() const