aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/cadet_api_new.c2
1 files changed, 1 insertions, 1 deletions
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,
707 return; 707 return;
708 } 708 }
709 709
710 payload = (struct GNUNET_MessageHeader *) &message[1]; 710 payload = (const struct GNUNET_MessageHeader *) &message[1];
711 type = ntohs (payload->type); 711 type = ntohs (payload->type);
712 fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; 712 fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI;
713 LOG (GNUNET_ERROR_TYPE_DEBUG, 713 LOG (GNUNET_ERROR_TYPE_DEBUG,