From 123ec3e0abdf8601b5a5978ac63eaa4b04e64adf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 20 Dec 2014 02:06:46 +0000 Subject: [PATCH] -fix warning --- src/sensor/test_gnunet-service-sensor_reporting.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sensor/test_gnunet-service-sensor_reporting.c b/src/sensor/test_gnunet-service-sensor_reporting.c index acb0e7165..4a58647ad 100644 --- a/src/sensor/test_gnunet-service-sensor_reporting.c +++ b/src/sensor/test_gnunet-service-sensor_reporting.c @@ -241,8 +241,9 @@ write_new_sensor_dir (struct TestPeer *cp_peer) * @return #GNUNET_YES to continue iterating, #GNUNET_NO to stop */ static int -peerstore_watch_cb (void *cls, struct GNUNET_PEERSTORE_Record *record, - char *emsg) +peerstore_watch_cb (void *cls, + const struct GNUNET_PEERSTORE_Record *record, + const char *emsg) { struct TestPeer *peer = cls; struct GNUNET_SENSOR_DashboardAnomalyEntry *anomaly; -- 2.25.1