pimd: Fix warning

Fix long unsigned / unsigned mixup

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
Martin Winter 2015-09-23 21:13:58 -07:00 committed by Donald Sharp
parent 7ec3063624
commit 868388e57e

View File

@ -40,7 +40,7 @@ static struct static_route * static_route_alloc()
s_route = XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(*s_route));
if (!s_route) {
zlog_err("PIM XCALLOC(%lu) failure", sizeof(*s_route));
zlog_err("PIM XCALLOC(%u) failure", sizeof(*s_route));
return 0;
}
return s_route;