diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 16:34:41 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 17:09:20 +0200 |
commit | 8bd1ac790c9b336d64e407a94b1ae6a4e195fc30 (patch) | |
tree | 44311306d194aa5b7a1741d1639a8f21c0fcfc1e /src/tools | |
parent | 02db4405cd34b4366b4ba7ddb10b54dfb60957f5 (diff) | |
download | qt4-tools-8bd1ac790c9b336d64e407a94b1ae6a4e195fc30.tar.gz |
Fix warnings on mingw
mingw doesn't support format with %llu or %ll. So I used a QString
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/uic/uic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/uic/uic.cpp b/src/tools/uic/uic.cpp index bbb3af7133..f789980ca2 100644 --- a/src/tools/uic/uic.cpp +++ b/src/tools/uic/uic.cpp @@ -184,9 +184,9 @@ DomUI *Uic::parseUiFile(QXmlStreamReader &reader) if (reader.hasError()) { delete ui; ui = 0; - fprintf(stderr, "uic: Error in line %llu, column %llu : %s\n", - reader.lineNumber(), reader.columnNumber(), - reader.errorString().toAscii().constData()); + fprintf(stderr, qPrintable(QString::fromLatin1("uic: Error in line %1, column %2 : %3\n") + .arg(reader.lineNumber()).arg(reader.columnNumber()) + .arg(reader.errorString()))); } return ui; |