projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-print: Do not display flow mod cookie if it is UINT64_MAX
[openvswitch]
/
lib
/
hmap.h
diff --git
a/lib/hmap.h
b/lib/hmap.h
index 9d07e842043f4666d79e2fe633bb45348ab5beac..2867bfa0b1ffa3f9a8c8b21dca63632a0e9e81e4 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