fix compile of occi plugin by casting from int to mapnik::value_integer (appears occi does not support 64 bit ints)

This commit is contained in:
Dane Springmeyer 2012-12-19 10:38:37 -08:00
parent da0c99b4be
commit fa1acc5de7

View file

@ -148,7 +148,7 @@ feature_ptr occi_featureset::next()
case oracle::occi::OCCIINT: case oracle::occi::OCCIINT:
case oracle::occi::OCCIUNSIGNED_INT: case oracle::occi::OCCIUNSIGNED_INT:
case oracle::occi::OCCIROWID: case oracle::occi::OCCIROWID:
feature->put(fld_name,rs_->getInt (i + 1)); feature->put(fld_name,static_cast<mapnik::value_integer>(rs_->getInt (i + 1)));
break; break;
case oracle::occi::OCCIFLOAT: case oracle::occi::OCCIFLOAT:
case oracle::occi::OCCIBFLOAT: case oracle::occi::OCCIBFLOAT: