static unsigned long ht_hash_event(void *_key, unsigned long seed)
{
uint64_t hashed_key;
- const struct ust_registry_event *key = _key;
+ struct ust_registry_event *key = _key;
assert(key);
struct lttng_ht_iter iter;
cds_lfht_lookup(session->enums->ht,
- ht_hash_enum((void *) ®_enum_lookup, lttng_ht_seed),
- ht_match_enum, ®_enum_lookup, &iter.iter);
+ ht_hash_enum((void *) reg_enum_lookup, lttng_ht_seed),
+ ht_match_enum, reg_enum_lookup, &iter.iter);
node = lttng_ht_iter_get_node_str(&iter);
if (!node) {
goto end;