From 7e8a8d61a5b01123e87c4e12968a98dddf0b8faf Mon Sep 17 00:00:00 2001 From: ishmal Date: Sun, 9 Jul 2006 16:38:13 +0000 Subject: [PATCH] remove conversion warnings --- src/display/nr-filter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/display/nr-filter.cpp b/src/display/nr-filter.cpp index 1d87b6ec3..5ec394246 100644 --- a/src/display/nr-filter.cpp +++ b/src/display/nr-filter.cpp @@ -140,10 +140,10 @@ void Filter::bbox_enlarge(NRRectL &bbox) } } else if (_filter_units == SP_FILTER_UNITS_USERSPACEONUSE) { /* TODO: make sure bbox and fe region are in same coordinate system */ - bbox.x0 = _region_x.computed; - bbox.x1 = bbox.x0 + _region_width.computed; - bbox.y0 = _region_y.computed; - bbox.y1 = bbox.y0 + _region_height.computed; + bbox.x0 = (NR::ICoord) _region_x.computed; + bbox.x1 = bbox.x0 + (NR::ICoord) _region_width.computed; + bbox.y0 = (NR::ICoord) _region_y.computed; + bbox.y1 = bbox.y0 + (NR::ICoord) _region_height.computed; } else { g_warning("Error in NR::Filter::bbox_enlarge: unrecognized value of _filter_units"); } -- 2.30.2