summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 16:05:01 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-16 11:18:04 (GMT)
commit1d45cf765ab467e6a0f9302eaf65b18419858aac (patch)
tree9da093eccc643f3d903eeb5d7a9a499d0a835b7d /src/corelib/io
parentb49a69f58346bcdf395840d5345ea32a144bfb50 (diff)
downloadQt-1d45cf765ab467e6a0f9302eaf65b18419858aac.zip
Qt-1d45cf765ab467e6a0f9302eaf65b18419858aac.tar.gz
Qt-1d45cf765ab467e6a0f9302eaf65b18419858aac.tar.bz2
Fix warnings for mingw
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfsfileengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine.cpp b/src/corelib/io/qfsfileengine.cpp
index beafe72..3a43ec7 100644
--- a/src/corelib/io/qfsfileengine.cpp
+++ b/src/corelib/io/qfsfileengine.cpp
@@ -44,6 +44,7 @@
#include "qdatetime.h"
#include "qdiriterator.h"
#include "qset.h"
+#include <QtCore/qdebug.h>
#ifndef QT_NO_FSFILEENGINE
@@ -571,7 +572,7 @@ bool QFSFileEnginePrivate::seekFdFh(qint64 pos)
} else {
// Unbuffered stdio mode.
if (QT_LSEEK(fd, pos, SEEK_SET) == -1) {
- qWarning("QFile::at: Cannot set file position %lld", pos);
+ qWarning() << "QFile::at: Cannot set file position" << pos;
q->setError(QFile::PositionError, qt_error_string(errno));
return false;
}