Commit 4175dc66 authored by Christian Stenger's avatar Christian Stenger Committed by hjk

Test: Fix tst_offsets for Qt5.2.0 on 64bit

Change-Id: Ie4650820702a83ffb2ca968304babb39084ec3c5
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 79497e7f
......@@ -76,8 +76,10 @@ void tst_offsets::offsets_data()
QFilePrivate *p = 0;
QTestData &data = QTest::newRow("QFilePrivate::fileName")
<< int((char *)&p->fileName - (char *)p);
if (qtVersion >= 0x50200)
if (qtVersion > 0x50200)
data << 176 << 272;
else if (qtVersion == 0x50200)
data << 176 << 280;
else if (qtVersion >= 0x50000)
data << 180 << 280;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment