diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-01 16:09:13 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-01 16:09:13 +0100 |
commit | da4158398754e121bc85f0df54bd02b8ef68d878 (patch) | |
tree | ddfaf737e951de2c980448c941269e616739fbc8 /tagstats/tagstats_handler.hpp | |
parent | 07dbe5e1c02851da384f1435a25409134275d564 (diff) | |
download | taginfo-da4158398754e121bc85f0df54bd02b8ef68d878.tar taginfo-da4158398754e121bc85f0df54bd02b8ef68d878.tar.gz |
Use correct type for type.
Diffstat (limited to 'tagstats/tagstats_handler.hpp')
-rw-r--r-- | tagstats/tagstats_handler.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tagstats/tagstats_handler.hpp b/tagstats/tagstats_handler.hpp index c0873f9..b2f4416 100644 --- a/tagstats/tagstats_handler.hpp +++ b/tagstats/tagstats_handler.hpp @@ -151,7 +151,7 @@ public: #endif // TAGSTATS_COUNT_USERS } - void add_key_combination(const char* other_key, osm_object_id_t type) { + void add_key_combination(const char* other_key, osm_object_type_t type) { key_combination_hash[other_key].count[type]++; } @@ -172,7 +172,7 @@ public: KeyValueStats() : m_key_value_combination_hash() { } - void add_key_combination(const char* other_key, osm_object_id_t type) { + void add_key_combination(const char* other_key, osm_object_type_t type) { m_key_value_combination_hash[other_key].count[type]++; } @@ -293,7 +293,7 @@ class TagStatsHandler : public Osmium::Handler::Base { } int size; - void *ptr = stat->distribution.create_png(&size); + void* ptr = stat->distribution.create_png(&size); sum_size += size; statement_insert_into_key_distributions |