X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Frculfhash%2Fcds_lfht_del.c;h=f030ee17c6063491130333e5bcbf07989a49c137;hb=83e334d03eaba62df373cf44298616458900078a;hp=efa6d9a705323123a5e68384a253f51f0c1c1c11;hpb=b9050d917ab84db192b5609ba6dd9973a82d215a;p=userspace-rcu.git diff --git a/doc/examples/rculfhash/cds_lfht_del.c b/doc/examples/rculfhash/cds_lfht_del.c index efa6d9a..f030ee1 100644 --- a/doc/examples/rculfhash/cds_lfht_del.c +++ b/doc/examples/rculfhash/cds_lfht_del.c @@ -37,7 +37,7 @@ int match(struct cds_lfht_node *ht_node, const void *_key) { struct mynode *node = caa_container_of(ht_node, struct mynode, node); - const unsigned int *key = _key; + const int *key = _key; return *key == node->value; }