Changeset 388


Ignore:
Timestamp:
Dec 5, 2009, 3:30:19 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/qmake/project.cpp

    r363 r388  
    233233        ret.setProperty(it.key(), qScriptValueFromValue(eng, it.value()));
    234234    return ret;
    235 }
    236 
    237 static QScriptValue qscript_toArray(QScriptEngine *eng, const QStringList &elts)
    238 {
    239     QScriptValue a = eng->newArray();
    240     for (int i = 0; i < elts.count(); ++i)
    241         a.setProperty(i, QScriptValue(eng, elts.at(i)));
    242     return a;
    243235}
    244236
     
    31883180                            &buf, sizeof(buf));
    31893181            if(type == "version")
    3190                 ret = QString().sprintf("%u.%u.%u", buf[0], buf[1], buf[2]);
     3182                ret = QString().sprintf("%lu.%lu.%lu", buf[0], buf[1], buf[2]);
    31913183            else {
    31923184                /* Warp 3 is reported as 20.30 */
Note: See TracChangeset for help on using the changeset viewer.