summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 08:51:53 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2015-04-21 10:17:31 +0200
commiteed3c48d3a7d2dae2cae2f2f250deffb843754a6 (patch)
tree07b2252438225065024d4a534eddf0e86c9b87a4 /ospfd/ospf_te.c
parentef008d2f8dc8f7160d8a3d24a15f2fad79ef3242 (diff)
downloadquagga-eed3c48d3a7d2dae2cae2f2f250deffb843754a6.tar.bz2
quagga-eed3c48d3a7d2dae2cae2f2f250deffb843754a6.tar.xz
*: use void * for printing pointers
On higher warning levels, compilers expect %p printf arguments to be void *. Since format string / argument warnings can be useful otherwise, let's get rid of this noise by sprinkling casts to void * over printf calls. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index c605ce68..bcb89630 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -556,7 +556,7 @@ ospf_mpls_te_new_if (struct interface *ifp)
if (lookup_linkparams_by_ifp (ifp) != NULL)
{
- zlog_warn ("ospf_mpls_te_new_if: ifp(%p) already in use?", ifp);
+ zlog_warn ("ospf_mpls_te_new_if: ifp(%p) already in use?", (void *)ifp);
rc = 0; /* Do nothing here. */
goto out;
}