Skip to content

Commit ea7ee29

Browse files
author
wonder
committed
This should fix compilation error on ARM platform.
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@7266 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cc16649 commit ea7ee29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/composer/qgscomposition.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void QgsComposition::contentsMousePressEvent(QMouseEvent* e)
236236
mLastPoint = p;
237237

238238
double x,y;
239-
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
239+
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
240240

241241
switch ( mTool ) {
242242
case Select:
@@ -395,7 +395,7 @@ void QgsComposition::contentsMouseMoveEvent(QMouseEvent* e)
395395
case Select:
396396
if ( mSelectedItem ) {
397397
double x,y;
398-
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
398+
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
399399

400400
mSelectedItem->moveBy ( x - mLastX, y - mLastY );
401401

0 commit comments

Comments
 (0)