}
lttng_ht_lookup(consumer->socks, (void *) ((unsigned long) key), &iter);
- node = lttng_ht_iter_get_node_ulong(&iter);
+ node = lttng_ht_iter_get_node<lttng_ht_node_ulong>(&iter);
if (node != nullptr) {
socket = lttng::utils::container_of(node, &consumer_socket::node);
}