git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix fake shutdown of external nodes
[sliver-openvswitch.git]
/
lib
/
hmap.h
diff --git
a/lib/hmap.h
b/lib/hmap.h
index
9d07e84
..
2867bfa
100644
(file)
--- a/
lib/hmap.h
+++ b/
lib/hmap.h
@@
-247,7
+247,7
@@
hmap_next_with_hash__(const struct hmap_node *node, size_t hash)
while (node != NULL && node->hash != hash) {
node = node->next;
}
- return
(struct hmap_node *) node
;
+ return
CONST_CAST(struct hmap_node *, node)
;
}
/* Returns the first node in 'hmap' with the given 'hash', or a null pointer if