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