]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: fix frr-format warnings in printfrr test
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 11 Nov 2021 11:27:11 +0000 (12:27 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 11 Nov 2021 11:27:11 +0000 (12:27 +0100)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
tests/lib/test_printfrr.c

index 06996a2f13caad0037626eef1cba47c581c36ce6..8413b7b372a6bd10890011ae299640ceb48092a4 100644 (file)
@@ -259,8 +259,8 @@ int main(int argc, char **argv)
         *
         * gateway addresses only for now: interfaces require more setup
         */
-       printchk("(null)", "%pNHcg", NULL);
-       printchk("(null)", "%pNHci", NULL);
+       printchk("(null)", "%pNHcg", (struct nexthop *)NULL);
+       printchk("(null)", "%pNHci", (struct nexthop *)NULL);
 
        struct nexthop nh;