gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: missing 'const'


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: missing 'const'
Date: Fri, 17 Feb 2017 15:18:46 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2401a858f missing 'const'
2401a858f is described below

commit 2401a858f667b1c5c56cc30a7c7aede4fc6e72e2
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Feb 17 15:19:48 2017 +0100

    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,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]