From 61c1e2e4ed0e2d9ce53d40935a0af0a76408eb0a Mon Sep 17 00:00:00 2001 From: Marcin Rudowski Date: Thu, 4 Mar 2010 08:31:25 +0000 Subject: [PATCH] eliminate compiler warnings --- plugins/input/gdal/gdal_featureset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/input/gdal/gdal_featureset.cpp b/plugins/input/gdal/gdal_featureset.cpp index 4eaaee0cc..1bd141f3b 100644 --- a/plugins/input/gdal/gdal_featureset.cpp +++ b/plugins/input/gdal/gdal_featureset.cpp @@ -114,9 +114,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;