|
@@ -26,6 +26,8 @@
|
|
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
|
|
+#include <stdint.h>
|
|
|
+
|
|
|
using namespace isc::dns;
|
|
|
using namespace isc::auth;
|
|
|
using namespace isc::statistics;
|
|
@@ -53,8 +55,8 @@ fillNodes(const Counter& counter,
|
|
|
fillNodes(counter, type_tree[i].sub_counters, sub_counters);
|
|
|
} else {
|
|
|
trees->set(type_tree[i].name,
|
|
|
- Element::create(static_cast<long int>(
|
|
|
- counter.get(type_tree[i].counter_id)))
|
|
|
+ Element::create(static_cast<int64_t>(
|
|
|
+ counter.get(type_tree[i].counter_id) & 0x7fffffffffffffff))
|
|
|
);
|
|
|
}
|
|
|
}
|