summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsdb.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 /ospfd/ospf_lsdb.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 'ospfd/ospf_lsdb.c')
-rw-r--r--ospfd/ospf_lsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsdb.c b/ospfd/ospf_lsdb.c
index f7cf60fd0..b92e7494a 100644
--- a/ospfd/ospf_lsdb.c
+++ b/ospfd/ospf_lsdb.c
@@ -158,7 +158,7 @@ ospf_lsdb_delete (struct ospf_lsdb *lsdb, struct ospf_lsa *lsa)
if (lsa)
zlog_warn ("LSA[Type%d:%s]: LSA %p, lsa->lsdb %p",
lsa->data->type, inet_ntoa (lsa->data->id),
- lsa, lsa->lsdb);
+ (void *)lsa, (void *)lsa->lsdb);
return;
}