summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:14:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commite348ef01b433e06888310c1098a05291034a856c (patch)
tree905e6c10143b8f7dbaba792f3733eaac13b5a479 /proto
parent398f92253186d70eb3f2e910c7f8dd2636ee5fa1 (diff)
unsgined char -> byte
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 74d10c7b..e74bcae6 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -43,7 +43,7 @@ unresolved_vlink(ort *ort)
}
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;