From e447ff965919f3718c1483d44ea4e99e800c6714 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 24 Jan 2017 09:31:24 +0100 Subject: [PATCH] router: fix compile issue on 64 bit systems Signed-off-by: Hans Dedecker --- src/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router.c b/src/router.c index a09e107..c410a9c 100644 --- a/src/router.c +++ b/src/router.c @@ -264,7 +264,7 @@ static uint64_t send_router_advert(struct interface *iface, const struct in6_add adv.h.nd_ra_router_lifetime = htons(1); syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available", - ntohs(adv.h.nd_ra_router_lifetime), ipcnt); + ntohs(adv.h.nd_ra_router_lifetime), (int)ipcnt); } // Construct Prefix Information options -- 2.11.0