From fa1acc5de7725447a225f2cc0bd9a19507f03331 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 19 Dec 2012 10:38:37 -0800 Subject: [PATCH] fix compile of occi plugin by casting from int to mapnik::value_integer (appears occi does not support 64 bit ints) --- plugins/input/occi/occi_featureset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/occi/occi_featureset.cpp b/plugins/input/occi/occi_featureset.cpp index b8dcb7c4d..b00eae9a2 100644 --- a/plugins/input/occi/occi_featureset.cpp +++ b/plugins/input/occi/occi_featureset.cpp @@ -148,7 +148,7 @@ feature_ptr occi_featureset::next() case oracle::occi::OCCIINT: case oracle::occi::OCCIUNSIGNED_INT: case oracle::occi::OCCIROWID: - feature->put(fld_name,rs_->getInt (i + 1)); + feature->put(fld_name,static_cast(rs_->getInt (i + 1))); break; case oracle::occi::OCCIFLOAT: case oracle::occi::OCCIBFLOAT: