if (!(flags & LEFT))
while (--field_width > 0)
*str++ = ' ';
- *str++ = (unsigned char) va_arg(args, int);
+ *str++ = (byte) va_arg(args, int);
while (--field_width > 0)
*str++ = ' ';
continue;
ip_addr gw; /* Next hop */
struct iface *iface; /* Outgoing interface */
struct mpnh *next;
- unsigned char weight;
+ byte weight;
};
struct rte_src {
}
static inline struct mpnh *
-new_nexthop(struct ospf_proto *p, ip_addr gw, struct iface *iface, unsigned char weight)
+new_nexthop(struct ospf_proto *p, ip_addr gw, struct iface *iface, byte weight)
{
struct mpnh *nh = lp_alloc(p->nhpool, sizeof(struct mpnh));
nh->gw = gw;
sk_process_cmsg4_ttl(sock *s, struct cmsghdr *cm)
{
if (cm->cmsg_type == IP_RECVTTL)
- s->rcv_ttl = * (unsigned char *) CMSG_DATA(cm);
+ s->rcv_ttl = * (byte *) CMSG_DATA(cm);
}
static inline void