Cleanup: enable signed/unsigned compare compiler warning
[urcu.git] / doc / examples / rculfhash / cds_lfht_lookup.c
index 053e6dd9079a0fd090a8c25704d79e58b82bd72b..de2a47f62376af5a5d898f348fdfe4b44d710432 100644 (file)
@@ -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;
 }
This page took 0.029789 seconds and 4 git commands to generate.