From 1554f80f5e271ed2ffb918127a234a3804cedef4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Nov 2016 15:06:06 +0100 Subject: statsd: Fix compiler warning (int32_t vs. int64_t) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/osmocom/core/stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom/core/stats.h') 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 { -- cgit v1.2.3