projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tap array subscript has type char warning
[userspace-rcu.git]
/
doc
/
examples
/
rculfhash
/
cds_lfht_lookup.c
diff --git
a/doc/examples/rculfhash/cds_lfht_lookup.c
b/doc/examples/rculfhash/cds_lfht_lookup.c
index 053e6dd9079a0fd090a8c25704d79e58b82bd72b..de2a47f62376af5a5d898f348fdfe4b44d710432 100644
(file)
--- a/
doc/examples/rculfhash/cds_lfht_lookup.c
+++ b/
doc/examples/rculfhash/cds_lfht_lookup.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);
{
struct mynode *node =
caa_container_of(ht_node, struct mynode, node);
- const
unsigned
int *key = _key;
+ const int *key = _key;
return *key == node->value;
}
return *key == node->value;
}
This page took
0.022801 seconds
and
4
git commands to generate.