From: Martin Winter Date: Thu, 24 Sep 2015 04:13:58 +0000 (-0700) Subject: pimd: Fix warning X-Git-Tag: frr-2.0-rc1~846 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=868388e57e62dd8766f6b35bb787d059f014d11e;p=mirror%2Ffrr.git pimd: Fix warning Fix long unsigned / unsigned mixup Signed-off-by: Martin Winter --- 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;