summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_spf.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 08:51:53 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-05-30 03:27:26 +0200
commit6c4f4e6e6a00d412f2c683f0a4232389ee7235f8 (patch)
tree7dbee5d120c31c701b63ac92585aff3087caf8da /ospf6d/ospf6_spf.c
parent*: use long long to print time_t (diff)
downloadfrr-6c4f4e6e6a00d412f2c683f0a4232389ee7235f8.tar.xz
frr-6c4f4e6e6a00d412f2c683f0a4232389ee7235f8.zip
*: 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 'ospf6d/ospf6_spf.c')
-rw-r--r--ospf6d/ospf6_spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c
index 7dc4801a8..5b77bf00a 100644
--- a/ospf6d/ospf6_spf.c
+++ b/ospf6d/ospf6_spf.c
@@ -689,7 +689,7 @@ ospf6_spf_schedule (struct ospf6 *ospf6, unsigned int reason)
{
if (IS_OSPF6_DEBUG_SPF(PROCESS) || IS_OSPF6_DEBUG_SPF (TIME))
zlog_debug ("SPF: calculation timer is already scheduled: %p",
- ospf6->t_spf_calc);
+ (void *)ospf6->t_spf_calc);
return;
}