summaryrefslogtreecommitdiff
path: root/tagstats
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-01 16:09:13 +0100
committerJochen Topf <jochen@topf.org>2013-01-01 16:09:13 +0100
commitda4158398754e121bc85f0df54bd02b8ef68d878 (patch)
treeddfaf737e951de2c980448c941269e616739fbc8 /tagstats
parent07dbe5e1c02851da384f1435a25409134275d564 (diff)
downloadtaginfo-da4158398754e121bc85f0df54bd02b8ef68d878.tar
taginfo-da4158398754e121bc85f0df54bd02b8ef68d878.tar.gz
Use correct type for type.
Diffstat (limited to 'tagstats')
-rw-r--r--tagstats/tagstats_handler.hpp6
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