diff options
author | Pavel TvrdĂk <pawel.tvrdik@gmail.cz> | 2015-05-19 08:53:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-06-08 02:24:08 +0200 |
commit | ae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch) | |
tree | be0c9427556557ff5b06b0250bc64ff33062199e /sysdep/linux | |
parent | e348ef01b433e06888310c1098a05291034a856c (diff) |
unsigned [int] -> uint
Diffstat (limited to 'sysdep/linux')
-rw-r--r-- | sysdep/linux/netlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 71f58554..c4d52255 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -50,7 +50,7 @@ struct nl_sock u32 seq; byte *rx_buffer; /* Receive buffer */ struct nlmsghdr *last_hdr; /* Recently received packet */ - unsigned int last_size; + uint last_size; }; #define NL_RX_SIZE 8192 @@ -443,7 +443,7 @@ nl_parse_link(struct nlmsghdr *h, int scan) struct iface *ifi; char *name; u32 mtu; - unsigned int fl; + uint fl; if (!(i = nl_checkin(h, sizeof(*i))) || !nl_parse_attrs(IFLA_RTA(i), a, sizeof(a))) return; @@ -1088,7 +1088,7 @@ nl_async_hook(sock *sk, int size UNUSED) struct msghdr m = { (struct sockaddr *) &sa, sizeof(sa), &iov, 1, NULL, 0, 0 }; struct nlmsghdr *h; int x; - unsigned int len; + uint len; x = recvmsg(sk->fd, &m, 0); if (x < 0) |