summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-10-31 16:12:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 19:49:55 +0100
commit033bc07fb435a6c222f8908ddb451e3cdc0ac4b3 (patch)
tree4dfa83b60af1b78d7932e7f25041188a351e41aa /qmake
parent14f261a28c07081fa9d3d2ed8aaa158e4ab1c38d (diff)
fix signedness warnings
Change-Id: I86952c06176dd334a3f029c34b74260ea43434cb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/property.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/property.cpp b/qmake/property.cpp
index 38d454cb5d..e50485ce19 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -81,7 +81,7 @@ static const struct {
QMakeProperty::QMakeProperty() : settings(0)
{
- for (int i = 0; i < sizeof(propList)/sizeof(propList[0]); i++) {
+ for (unsigned i = 0; i < sizeof(propList)/sizeof(propList[0]); i++) {
QString name = QString::fromLatin1(propList[i].name);
m_values[ProKey(name + "/src")] = QLibraryInfo::rawLocation(propList[i].loc, QLibraryInfo::EffectiveSourcePaths);
m_values[ProKey(name + "/get")] = QLibraryInfo::rawLocation(propList[i].loc, QLibraryInfo::EffectivePaths);
@@ -155,7 +155,7 @@ QMakeProperty::exec()
fprintf(stdout, "%s:%s\n", qPrintable(key), qPrintable(val));
}
QStringList specialProps;
- for (int i = 0; i < sizeof(propList)/sizeof(propList[0]); i++)
+ for (unsigned i = 0; i < sizeof(propList)/sizeof(propList[0]); i++)
specialProps.append(QString::fromLatin1(propList[i].name));
specialProps.append("QMAKE_VERSION");
#ifdef QT_VERSION_STR