summaryrefslogtreecommitdiffstats
path: root/src/stats_statsd.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-11 15:06:06 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-11 15:24:24 +0100
commit1554f80f5e271ed2ffb918127a234a3804cedef4 (patch)
tree36431cbdf628de6cc29b6b890f05fa9e19db2619 /src/stats_statsd.c
parentbf173a3df5dce2c875f057bcfbffcf4b8c642fe5 (diff)
statsd: Fix compiler warning (int32_t vs. int64_t)
Fixes the following compiler warning: stats_statsd.c: In function ‘osmo_stats_reporter_create_statsd’: stats_statsd.c:54:18: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] srep->send_item = osmo_stats_reporter_statsd_send_item; Change-Id: Id36914906e0982f6ac092a311210727de66b343a
Diffstat (limited to 'src/stats_statsd.c')
-rw-r--r--src/stats_statsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stats_statsd.c b/src/stats_statsd.c
index 3cecec30..8b53881e 100644
--- a/src/stats_statsd.c
+++ b/src/stats_statsd.c
@@ -32,6 +32,7 @@
#include <osmocom/core/rate_ctr.h>
#include <osmocom/core/stat_item.h>
#include <osmocom/core/msgb.h>
+#include <osmocom/core/stats.h>
static int osmo_stats_reporter_statsd_send_counter(struct osmo_stats_reporter *srep,
const struct rate_ctr_group *ctrg,