summaryrefslogtreecommitdiff
path: root/package/libnl-tiny/src/include/netlink/handlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnl-tiny/src/include/netlink/handlers.h')
-rw-r--r--package/libnl-tiny/src/include/netlink/handlers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libnl-tiny/src/include/netlink/handlers.h b/package/libnl-tiny/src/include/netlink/handlers.h
index 5c62368a85..7fb53b4eee 100644
--- a/package/libnl-tiny/src/include/netlink/handlers.h
+++ b/package/libnl-tiny/src/include/netlink/handlers.h
@@ -172,7 +172,7 @@ static inline int nl_cb_set_all(struct nl_cb *cb, enum nl_cb_kind kind,
int i, err;
for (i = 0; i <= NL_CB_TYPE_MAX; i++) {
- err = nl_cb_set(cb, i, kind, func, arg);
+ err = nl_cb_set(cb,(enum nl_cb_type)i, kind, func, arg);
if (err < 0)
return err;
}