mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 09:58:07 +02:00
platform/netlink: fix return value of nla_get_s8()
This commit is contained in:
parent
7f1865cad9
commit
d8727f6aa9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue