avoid signed/unsigned warning with llvm-g++
This commit is contained in:
parent
faa78864b6
commit
f2ee8cae16
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void ogr_datasource::init(mapnik::parameters const& params)
|
|||
}
|
||||
else if (layer_by_index)
|
||||
{
|
||||
const unsigned num_layers = dataset_->GetLayerCount();
|
||||
int num_layers = dataset_->GetLayerCount();
|
||||
if (*layer_by_index >= num_layers)
|
||||
{
|
||||
std::ostringstream s("OGR Plugin: only ");
|
||||
|
|
Loading…
Reference in a new issue