X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-metadata-cache.c;h=987bf7c8577d8c683a6b7e4a751c8b77ff2108a5;hb=faa88ea855741f5c356d223011ff4b347576c7d2;hp=03e12db55e7dcc04e66ecc581aa6d022104548ba;hpb=3e20eae8260e21b31214031f63ea651902b2bc85;p=lttng-tools.git diff --git a/src/common/consumer/consumer-metadata-cache.c b/src/common/consumer/consumer-metadata-cache.c index 03e12db55..987bf7c85 100644 --- a/src/common/consumer/consumer-metadata-cache.c +++ b/src/common/consumer/consumer-metadata-cache.c @@ -140,7 +140,7 @@ end: */ int consumer_metadata_cache_write(struct lttng_consumer_channel *channel, unsigned int offset, unsigned int len, uint64_t version, - char *data) + const char *data) { int ret = 0; struct consumer_metadata_cache *cache;