From: Christian Grothoff Date: Fri, 17 Feb 2017 14:19:48 +0000 (+0100) Subject: missing 'const' X-Git-Tag: taler-0.2.1~155 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2401a858f667b1c5c56cc30a7c7aede4fc6e72e2;p=oweals%2Fgnunet.git missing 'const' --- 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,