summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringbuilder.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-02-22 14:49:26 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-02-22 14:50:28 (GMT)
commit0bcf45bf9f0adc8cf9e3486845819447d153bd5e (patch)
tree8044a67661f7453b552538f26dab58b04196094d /src/corelib/tools/qstringbuilder.h
parentd033442f92cfee0de952578044bbcb5e858ee835 (diff)
downloadQt-0bcf45bf9f0adc8cf9e3486845819447d153bd5e.zip
Qt-0bcf45bf9f0adc8cf9e3486845819447d153bd5e.tar.gz
Qt-0bcf45bf9f0adc8cf9e3486845819447d153bd5e.tar.bz2
Fix build with wingw
Reviewed-by: ogoffart
Diffstat (limited to 'src/corelib/tools/qstringbuilder.h')
-rw-r--r--src/corelib/tools/qstringbuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringbuilder.h b/src/corelib/tools/qstringbuilder.h
index 9fe3fd7..0c3ba06 100644
--- a/src/corelib/tools/qstringbuilder.h
+++ b/src/corelib/tools/qstringbuilder.h
@@ -107,7 +107,7 @@ public:
const QChar * const start = d;
QConcatenable< QStringBuilder<A, B> >::appendTo(*this, d);
- if (!QConcatenable< QStringBuilder<A, B> >::ExactSize && size != d - start) {
+ if (!QConcatenable< QStringBuilder<A, B> >::ExactSize && int(size) != d - start) {
// this resize is necessary since we allocate a bit too much
// when dealing with variable sized 8-bit encodings
s.resize(d - start);