summaryrefslogtreecommitdiffstats
path: root/utils/osmo-sim-test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-13 00:11:34 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 18:10:15 +0000
commitb41b48e76a0057f9cf7b9c98dea86dbb93b602bb (patch)
tree2823bae9ea95b6dae737250a85d1721e0e7e6b0c /utils/osmo-sim-test.c
parentdf83eced6826b65db623aa77cd4a40d307d79486 (diff)
stats_test: fix mismatching osmo_stats_reporter->send_item signature
The function pointer expects the last arg as int64_t, stats_test.c uses an int instead. Fix the argument type as well as the printf format for it. Fixes this compiler warning seen on our FreeBSD build slave: CC stats/stats_test.o ../../tests/stats/stats_test.c:288:18: warning: incompatible pointer types assigning to 'int (*)(struct osmo_stats_reporter *, const struct osmo_stat_item_group *, const struct osmo_stat_item_desc *, int64_t)' from 'int (struct osmo_stats_reporter *, const struct osmo_stat_item_group *, const struct osmo_stat_item_desc *, int)' [-Wincompatible-pointer-types] srep->send_item = stats_reporter_test_send_item; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Change-Id: I91cbfd4dd25a881b803943430101dabf07dafc7c
Diffstat (limited to 'utils/osmo-sim-test.c')
0 files changed, 0 insertions, 0 deletions