X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-registry.c;fp=src%2Fbin%2Flttng-sessiond%2Fust-registry.c;h=ed830b60821cc67154879c629655f48e7b62bf10;hp=d63c750087249ff67c7547eaf74179f0700c8132;hb=bcd52dd90f07cc4cf4eebf32761568a2c03c540a;hpb=446156b4cba25f3d9abc835dd0d531a447d52941 diff --git a/src/bin/lttng-sessiond/ust-registry.c b/src/bin/lttng-sessiond/ust-registry.c index d63c75008..ed830b608 100644 --- a/src/bin/lttng-sessiond/ust-registry.c +++ b/src/bin/lttng-sessiond/ust-registry.c @@ -62,10 +62,10 @@ no_match: return 0; } -static unsigned long ht_hash_event(void *_key, unsigned long seed) +static unsigned long ht_hash_event(const void *_key, unsigned long seed) { uint64_t xored_key; - struct ust_registry_event *key = _key; + const struct ust_registry_event *key = _key; assert(key);