From b525addb104517bb59061ba355530df0d0a4c3b2 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 5 Aug 2014 06:34:00 +0300 Subject: [PATCH] ProjectExplorer: Fix compilation with GCC Change-Id: I981df3a89dcd7aacd19f7c5eb8c15b027bdd16e4 Reviewed-by: Orgad Shaneh --- src/plugins/projectexplorer/abi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index f6fe084a5b2..f8fb18ed76b 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -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); }