diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-11 15:06:06 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-11 15:24:24 +0100 |
commit | 1554f80f5e271ed2ffb918127a234a3804cedef4 (patch) | |
tree | 36431cbdf628de6cc29b6b890f05fa9e19db2619 /include/osmocom/core | |
parent | bf173a3df5dce2c875f057bcfbffcf4b8c642fe5 (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 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/stats.h b/include/osmocom/core/stats.h index 96f687e5..f754e41d 100644 --- a/include/osmocom/core/stats.h +++ b/include/osmocom/core/stats.h @@ -78,7 +78,7 @@ struct osmo_stats_reporter { int (*send_item)(struct osmo_stats_reporter *srep, const struct osmo_stat_item_group *statg, const struct osmo_stat_item_desc *desc, - int32_t value); + int64_t value); }; struct osmo_stats_config { |