summaryrefslogtreecommitdiff
path: root/tests/lib/test_printfrr.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-11-11 12:27:11 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2021-11-11 12:27:11 +0100
commitfec9fb2985109ce58eb3018821c2326b688a91c1 (patch)
tree1c1c1af2e424d9a1c947204c43579c5409655784 /tests/lib/test_printfrr.c
parent5863f5893383581a166e1778b98d2e90ace0254e (diff)
tests: fix frr-format warnings in printfrr test
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/test_printfrr.c')
-rw-r--r--tests/lib/test_printfrr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_printfrr.c b/tests/lib/test_printfrr.c
index 06996a2f13..8413b7b372 100644
--- a/tests/lib/test_printfrr.c
+++ b/tests/lib/test_printfrr.c
@@ -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;