summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-08-05 06:34:00 +0300
committerOrgad Shaneh <orgads@gmail.com>2014-08-05 05:35:14 +0200
commitb525addb104517bb59061ba355530df0d0a4c3b2 (patch)
tree510ba456a93d76ced124a97e14dd53542b75be30 /src/plugins/projectexplorer
parent0b74df58a5f657b68480e393f3f9528c1d7a0707 (diff)
downloadqt-creator-b525addb104517bb59061ba355530df0d0a4c3b2.tar.gz
ProjectExplorer: Fix compilation with GCC
Change-Id: I981df3a89dcd7aacd19f7c5eb8c15b027bdd16e4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/abi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp
index f6fe084a5b..f8fb18ed76 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);
}