There was a mismatch between 32 and 64-bit integers which
caused a lot of qdeclarative unit tests to fail and QML to
generally not work properly on ARM.
All of the failing auto tests pass now on ARMV7.
Change-Id: Icf230f79e56c15743c6ee943859ac02e649a6e0a
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
{
Q_ASSERT(index <= 0xFFFF);
- if (!notifyList || !(notifyList->connectionMask & (1 << (quint64(index) % 64)))) {
+ if (!notifyList || !(notifyList->connectionMask & (1ULL << quint64(index % 64)))) {
return 0;
} else if (index < notifyList->notifiesSize) {
return notifyList->notifies[index];
Q_ASSERT(!endpoint->isConnected());
index = qMin(index, 0xFFFF - 1);
- notifyList->connectionMask |= (1 << (quint64(index) % 64));
+ notifyList->connectionMask |= (1ULL << quint64(index % 64));
if (index < notifyList->notifiesSize) {