fix signedness warnings
Change-Id: I86952c06176dd334a3f029c34b74260ea43434cb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
14f261a28c
commit
033bc07fb4
@ -81,7 +81,7 @@ static const struct {
|
|||||||
|
|
||||||
QMakeProperty::QMakeProperty() : settings(0)
|
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);
|
QString name = QString::fromLatin1(propList[i].name);
|
||||||
m_values[ProKey(name + "/src")] = QLibraryInfo::rawLocation(propList[i].loc, QLibraryInfo::EffectiveSourcePaths);
|
m_values[ProKey(name + "/src")] = QLibraryInfo::rawLocation(propList[i].loc, QLibraryInfo::EffectiveSourcePaths);
|
||||||
m_values[ProKey(name + "/get")] = QLibraryInfo::rawLocation(propList[i].loc, QLibraryInfo::EffectivePaths);
|
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));
|
fprintf(stdout, "%s:%s\n", qPrintable(key), qPrintable(val));
|
||||||
}
|
}
|
||||||
QStringList specialProps;
|
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(QString::fromLatin1(propList[i].name));
|
||||||
specialProps.append("QMAKE_VERSION");
|
specialProps.append("QMAKE_VERSION");
|
||||||
#ifdef QT_VERSION_STR
|
#ifdef QT_VERSION_STR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user