X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e8d08775f6f9dc8496ee6eea3cf91f06c5991c98..428f843cf0ead5f53612fd5eeb5d0903f47e5a2c:/package/libnl-tiny/src/include/netlink/handlers.h diff --git a/package/libnl-tiny/src/include/netlink/handlers.h b/package/libnl-tiny/src/include/netlink/handlers.h index 5c62368a8..7fb53b4ee 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; }