Revision e348ef01

View differences:

lib/printf.c
215 215
			if (!(flags & LEFT))
216 216
				while (--field_width > 0)
217 217
					*str++ = ' ';
218
			*str++ = (unsigned char) va_arg(args, int);
218
			*str++ = (byte) va_arg(args, int);
219 219
			while (--field_width > 0)
220 220
				*str++ = ' ';
221 221
			continue;
nest/route.h
320 320
  ip_addr gw;				/* Next hop */
321 321
  struct iface *iface;			/* Outgoing interface */
322 322
  struct mpnh *next;
323
  unsigned char weight;
323
  byte weight;
324 324
};
325 325

  
326 326
struct rte_src {
proto/ospf/rt.c
43 43
}
44 44

  
45 45
static inline struct mpnh *
46
new_nexthop(struct ospf_proto *p, ip_addr gw, struct iface *iface, unsigned char weight)
46
new_nexthop(struct ospf_proto *p, ip_addr gw, struct iface *iface, byte weight)
47 47
{
48 48
  struct mpnh *nh = lp_alloc(p->nhpool, sizeof(struct mpnh));
49 49
  nh->gw = gw;
sysdep/bsd/sysio.h
130 130
sk_process_cmsg4_ttl(sock *s, struct cmsghdr *cm)
131 131
{
132 132
  if (cm->cmsg_type == IP_RECVTTL)
133
    s->rcv_ttl = * (unsigned char *) CMSG_DATA(cm);
133
    s->rcv_ttl = * (byte *) CMSG_DATA(cm);
134 134
}
135 135

  
136 136
static inline void

Also available in: Unified diff