ProjectExplorer: Fix compilation with GCC

Change-Id: I981df3a89dcd7aacd19f7c5eb8c15b027bdd16e4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Orgad Shaneh
2014-08-05 06:34:00 +03:00
committed by Orgad Shaneh
parent 0b74df58a5
commit b525addb10

View File

@@ -1077,7 +1077,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiFromTargetTriplet()
const Abi expectedAbi = Abi(Abi::Architecture(architecture),
Abi::OS(os), Abi::OSFlavor(osFlavor),
Abi::BinaryFormat(binaryFormat), unsigned char(wordWidth));
Abi::BinaryFormat(binaryFormat), (unsigned char)wordWidth);
QCOMPARE(Abi::abiFromTargetTriplet(QLatin1String(QTest::currentDataTag())), expectedAbi);
}