Strip down vport interface : iflink
[openvswitch] / lib / netlink.h
index b1bf5858b530ab9763069de6bf43b46355715950..0bd2c41e60357df54dbda65aae4a34c71797420e 100644 (file)
@@ -98,7 +98,7 @@ enum nl_attr_type
 static inline struct nlattr *
 nl_attr_next(const struct nlattr *nla)
 {
-    return (struct nlattr *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
+    return (void *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
 }
 
 static inline bool