Revision ae80a2de sysdep/bsd/krt-sock.c

View differences:

sysdep/bsd/krt-sock.c
181 181
#define GETADDR(p, F) \
182 182
  bzero(p, sizeof(*p));\
183 183
  if ((addrs & (F)) && ((struct sockaddr *)body)->sa_len) {\
184
    unsigned int l = ROUNDUP(((struct sockaddr *)body)->sa_len);\
184
    uint l = ROUNDUP(((struct sockaddr *)body)->sa_len);\
185 185
    memcpy(p, body, (l > sizeof(*p) ? sizeof(*p) : l));\
186 186
    body += l;}
187 187

  
......
537 537
  struct if_msghdr *ifm = (struct if_msghdr *)&msg->rtm;
538 538
  void *body = (void *)(ifm + 1);
539 539
  struct sockaddr_dl *dl = NULL;
540
  unsigned int i;
540
  uint i;
541 541
  struct iface *iface = NULL, f = {};
542 542
  int fl = ifm->ifm_flags;
543 543
  int nlen = 0;

Also available in: Unified diff