Describe dummy test model. Work on OpenFlow intro.
[openvswitch] / lib / hmap.h
index 9d07e842043f4666d79e2fe633bb45348ab5beac..2867bfa0b1ffa3f9a8c8b21dca63632a0e9e81e4 100644 (file)
@@ -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