From a90b31b7a743f43e11afb43c59cb04bf449463d5 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 2 Jan 2013 13:45:06 -0800 Subject: [PATCH] return the correct type in attribute.get_type --- include/mapnik/attribute_descriptor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/attribute_descriptor.hpp b/include/mapnik/attribute_descriptor.hpp index 3e478ec57..beb8ede8d 100644 --- a/include/mapnik/attribute_descriptor.hpp +++ b/include/mapnik/attribute_descriptor.hpp @@ -79,7 +79,7 @@ public: return name_; } - unsigned get_type() const + unsigned int get_type() const { return type_; } @@ -101,7 +101,7 @@ public: private: std::string name_; - int type_; + unsigned int type_; bool primary_key_; int size_; int precision_;