[initramfs] Fix more tests

This commit is contained in:
Adriaan de Groot 2020-02-21 18:13:51 +01:00
parent e49fb74847
commit 6352b50ed0

View File

@ -79,7 +79,7 @@ void InitramfsTests::testCreateTargetFile()
QFileInfo fi( path ); QFileInfo fi( path );
QVERIFY( fi.exists() ); QVERIFY( fi.exists() );
QCOMPARE( fi.size(), sizeof( contents )-1 ); // don't count trailing NUL QCOMPARE( ulong( fi.size() ), sizeof( contents )-1 ); // don't count trailing NUL
QFile::remove( path ); QFile::remove( path );