From ae80a2de95d3d3c153ce20b90c9d8757d02cb33d Mon Sep 17 00:00:00 2001 From: Pavel TvrdĂ­k Date: Tue, 19 May 2015 08:53:34 +0200 Subject: unsigned [int] -> uint --- sysdep/bsd/krt-sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdep/bsd') diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index aaf3b23c..064bae18 100644 --- a/sysdep/bsd/krt-sock.c +++ b/sysdep/bsd/krt-sock.c @@ -181,7 +181,7 @@ struct ks_msg #define GETADDR(p, F) \ bzero(p, sizeof(*p));\ if ((addrs & (F)) && ((struct sockaddr *)body)->sa_len) {\ - unsigned int l = ROUNDUP(((struct sockaddr *)body)->sa_len);\ + uint l = ROUNDUP(((struct sockaddr *)body)->sa_len);\ memcpy(p, body, (l > sizeof(*p) ? sizeof(*p) : l));\ body += l;} @@ -537,7 +537,7 @@ krt_read_ifinfo(struct ks_msg *msg, int scan) struct if_msghdr *ifm = (struct if_msghdr *)&msg->rtm; void *body = (void *)(ifm + 1); struct sockaddr_dl *dl = NULL; - unsigned int i; + uint i; struct iface *iface = NULL, f = {}; int fl = ifm->ifm_flags; int nlen = 0; -- cgit v1.2.3