From 8dba9652fbd573b3f92dda22dc6638f334491dab Mon Sep 17 00:00:00 2001 From: Andrius Ramanauskas Date: Thu, 20 Apr 2006 07:13:38 +0000 Subject: resolving compiler warnings (bzr r552) --- src/display/sp-ctrlline.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/display/sp-ctrlline.cpp') diff --git a/src/display/sp-ctrlline.cpp b/src/display/sp-ctrlline.cpp index 463d32336..d6dbdf022 100644 --- a/src/display/sp-ctrlline.cpp +++ b/src/display/sp-ctrlline.cpp @@ -143,10 +143,10 @@ sp_ctrlline_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned int f thePath->LineTo(NR::Point(cl->e.x, cl->e.y) * affine); NRRectL area; - area.x0=item->x1; - area.x1=item->x2; - area.y0=item->y1; - area.y1=item->y2; + area.x0=(double)item->x1; + area.x1=(double)item->x2; + area.y0=(double)item->y1; + area.y1=(double)item->y2; thePath->Convert(&area, 1.0); if ( cl->shp == NULL ) cl->shp=new Shape; thePath->Stroke(cl->shp,false,0.5,join_straight,butt_straight,20.0,false); -- cgit v1.2.3