summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-21 23:03:41 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-21 23:03:41 (GMT)
commit4ea52386e0281700e6143e0ba946314e7dd30608 (patch)
tree73abcd91aae3f1ecd49f4ec84878ae339a37e432 /src/plugins/gfxdrivers
parent7383e03bfd473f6e79718f3da7d504977a677541 (diff)
downloadQt-4ea52386e0281700e6143e0ba946314e7dd30608.zip
Qt-4ea52386e0281700e6143e0ba946314e7dd30608.tar.gz
Qt-4ea52386e0281700e6143e0ba946314e7dd30608.tar.bz2
Removed warning
Explicitly cast to integer. Reviewed-by: Shane McLaughlin <Shane.McLaughlin@trolltech.com>
Diffstat (limited to 'src/plugins/gfxdrivers')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 989a37a..a68bc8f 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -383,7 +383,7 @@ void QDirectFBPaintEngine::clip(const QVectorPath &path, Qt::ClipOperation op)
{
Q_D(QDirectFBPaintEngine);
d->dirtyClip = true;
- const QPoint bottom = d->transform.map(QPoint(0, path.controlPointRect().y2));
+ const QPoint bottom = d->transform.map(QPoint(0, int(path.controlPointRect().y2)));
if (bottom.y() >= d->lastLockedHeight)
d->lock();
QRasterPaintEngine::clip(path, op);