summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-04 14:39:57 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-04 16:58:02 (GMT)
commit7527392f639903a42471d914528b25b13f0cde98 (patch)
tree9b539c558c5b9cc0cfe855aa2acba2e13b250c5d /src/corelib/io
parenta0cf0a18603d5c466747cd7b0657abdff5015b85 (diff)
downloadQt-7527392f639903a42471d914528b25b13f0cde98.zip
Qt-7527392f639903a42471d914528b25b13f0cde98.tar.gz
Qt-7527392f639903a42471d914528b25b13f0cde98.tar.bz2
Fix compilation
Reviewed-by: Joao
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qtemporaryfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp
index 34c01a6..b5e5808 100644
--- a/src/corelib/io/qtemporaryfile.cpp
+++ b/src/corelib/io/qtemporaryfile.cpp
@@ -251,8 +251,8 @@ bool QTemporaryFileEngine::open(QIODevice::OpenMode openMode)
QString qfilename = d->fileEntry.filePath();
// Find placeholder string.
- size_t phPos = size_t(qfilename.length());
- size_t phLength = 0;
+ uint phPos = qfilename.length();
+ uint phLength = 0;
while (phPos != 0) {
--phPos;