const
authorChristian Grothoff <christian@grothoff.org>
Sat, 16 Jul 2011 20:33:23 +0000 (20:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 16 Jul 2011 20:33:23 +0000 (20:33 +0000)
src/dht/gnunet-service-dht.c

index d8527edbcd85fc29f28b98e5275dc247e917d6f3..28c5b22e3a120c80d6ac51f520352e115e13054d 100644 (file)
@@ -3030,7 +3030,7 @@ handle_dht_put (const struct GNUNET_MessageHeader *msg,
         }
 
       ret = GNUNET_DATACACHE_put (datacache, &msg_ctx->key, put_size,
-                                  (char *) put_entry, put_type,
+                                  (const char *) put_entry, put_type,
                                   GNUNET_TIME_absolute_ntoh
                                   (put_msg->expiration));
       GNUNET_free (put_entry);