summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-03-03 15:52:41 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-03-03 15:53:35 (GMT)
commitbfd0d6557dc54c0fd0270de6c138ea1031ea092c (patch)
tree159bfda93a1f61ded8470428d6922d52ab5db1d2 /src/gui/image
parent5b97c515ea574c1ac23c8595af34de406db2536d (diff)
downloadQt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.zip
Qt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.tar.gz
Qt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.tar.bz2
Fix warnings on MSVC
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmapfilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/image/qpixmapfilter.cpp b/src/gui/image/qpixmapfilter.cpp
index 2792e45..0abf51f 100644
--- a/src/gui/image/qpixmapfilter.cpp
+++ b/src/gui/image/qpixmapfilter.cpp
@@ -726,7 +726,7 @@ void expblur(QImage &img, qreal radius, bool improvedQuality = false, int transp
int img_height = img.height();
for (int row = 0; row < img_height; ++row) {
- for (int i = 0; i <= improvedQuality; ++i)
+ for (int i = 0; i <= int(improvedQuality); ++i)
qt_blurrow<aprec, zprec, alphaOnly>(img, row, alpha);
}
@@ -759,7 +759,7 @@ void expblur(QImage &img, qreal radius, bool improvedQuality = false, int transp
img_height = temp.height();
for (int row = 0; row < img_height; ++row) {
- for (int i = 0; i <= improvedQuality; ++i)
+ for (int i = 0; i <= int(improvedQuality); ++i)
qt_blurrow<aprec, zprec, alphaOnly>(temp, row, alpha);
}