Ticket #46536: patch-tst_qarraydata.diff
File patch-tst_qarraydata.diff, 524 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp
789 789 + minAlignment - Q_ALIGNOF(QArrayData))); 790 790 791 791 // Data is aligned 792 QCOMPARE(quintptr( data->data()) % alignment, quintptr(0u));792 QCOMPARE(quintptr(quintptr(data->data()) % alignment), quintptr(0)); 793 793 794 794 // Check that the allocated array can be used. Best tested with a 795 795 // memory checker, such as valgrind, running.