]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Fix warning
authorMartin Winter <mwinter@opensourcerouting.org>
Thu, 24 Sep 2015 04:13:58 +0000 (21:13 -0700)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:33 +0000 (20:38 -0400)
Fix long unsigned / unsigned mixup

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
pimd/pim_static.c

index f2b8e856b57d91c1a3270d4cffb8d26a8495dee5..cb40814a6eed79af1204435bb49897b873468270 100644 (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;