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

     
    789789                    + minAlignment - Q_ALIGNOF(QArrayData)));
    790790
    791791        // Data is aligned
    792         QCOMPARE(quintptr(data->data()) % alignment, quintptr(0u));
     792        QCOMPARE(quintptr(quintptr(data->data()) % alignment), quintptr(0));
    793793
    794794        // Check that the allocated array can be used. Best tested with a
    795795        // memory checker, such as valgrind, running.