diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 09e0596..0d52ea5 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -69,7 +69,7 @@ enum nlmsgerr_attrs { #ifndef NLA_S8 /* libnl < 3.3 does not define signed 8-bit attr helpers */ #define NLA_S8 NLA_U8 -static inline s8 nla_get_s8(const struct nlattr *nla) +static inline s8 nla_get_s8(struct nlattr *nla) { return (s8) nla_get_u8(nla); }