From 868388e57e62dd8766f6b35bb787d059f014d11e Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Wed, 23 Sep 2015 21:13:58 -0700 Subject: [PATCH] pimd: Fix warning Fix long unsigned / unsigned mixup Signed-off-by: Martin Winter --- pimd/pim_static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pimd/pim_static.c b/pimd/pim_static.c index f2b8e856b5..cb40814a6e 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -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; -- 2.39.5