summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.c b/src/msg.c
index be828f5..6b603b2 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -104,7 +104,7 @@ void *mnl_nlmsg_put_extra_header(struct nlmsghdr *nlh, int size)
* This function returns the length of the netlink message by return the field
* nlmsg_len of the message.
*/
-u_int16_t mnl_nlmsg_get_len(const struct nlmsghdr *nlh)
+uint16_t mnl_nlmsg_get_len(const struct nlmsghdr *nlh)
{
return nlh->nlmsg_len;
}