From 2401a858f667b1c5c56cc30a7c7aede4fc6e72e2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Feb 2017 15:19:48 +0100 Subject: [PATCH] missing 'const' --- src/cadet/cadet_api_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cadet/cadet_api_new.c b/src/cadet/cadet_api_new.c index eb8bc2549..e9ab3ea57 100644 --- a/src/cadet/cadet_api_new.c +++ b/src/cadet/cadet_api_new.c @@ -707,7 +707,7 @@ handle_local_data (void *cls, return; } - payload = (struct GNUNET_MessageHeader *) &message[1]; + payload = (const struct GNUNET_MessageHeader *) &message[1]; type = ntohs (payload->type); fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; LOG (GNUNET_ERROR_TYPE_DEBUG, -- 2.25.1