platform/netlink: fix return value of nla_get_s8()

This commit is contained in:
Thomas Haller 2019-02-18 09:45:37 +01:00
parent 7f1865cad9
commit d8727f6aa9

View file

@ -134,7 +134,7 @@ nla_get_u8 (const struct nlattr *nla)
return *(const uint8_t *) nla_data (nla);
}
static inline uint8_t
static inline int8_t
nla_get_s8 (const struct nlattr *nla)
{
return *(const int8_t *) nla_data (nla);