From da4158398754e121bc85f0df54bd02b8ef68d878 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Tue, 1 Jan 2013 16:09:13 +0100 Subject: Use correct type for type. --- tagstats/tagstats_handler.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tagstats') 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 -- cgit v1.2.3