From 7527392f639903a42471d914528b25b13f0cde98 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 4 Apr 2011 16:39:57 +0200 Subject: Fix compilation Reviewed-by: Joao --- src/corelib/io/qtemporaryfile.cpp | 4 ++-- 1 file 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; -- cgit v0.12