eliminate compiler warnings as in r1659
This commit is contained in:
parent
7724bc232d
commit
f4f329d3c2
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ feature_ptr gdal_featureset::get_feature(mapnik::query const& q)
|
|||
x_off = 0;
|
||||
if (y_off < 0)
|
||||
y_off = 0;
|
||||
if (end_x > raster_width)
|
||||
if (end_x > (int)raster_width)
|
||||
end_x = raster_width;
|
||||
if (end_y > raster_height)
|
||||
if (end_y > (int)raster_height)
|
||||
end_y = raster_height;
|
||||
int width = end_x - x_off;
|
||||
int height = end_y - y_off;
|
||||
|
|
Loading…
Add table
Reference in a new issue