summaryrefslogtreecommitdiffstats
path: root/isisd/isis_spf_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_spf_private.h')
-rw-r--r--isisd/isis_spf_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_spf_private.h b/isisd/isis_spf_private.h
index 3a2a52afa..a8185a8be 100644
--- a/isisd/isis_spf_private.h
+++ b/isisd/isis_spf_private.h
@@ -79,9 +79,9 @@ struct isis_vertex_queue {
};
__attribute__((__unused__))
-static unsigned isis_vertex_queue_hash_key(void *vp)
+static unsigned isis_vertex_queue_hash_key(const void *vp)
{
- struct isis_vertex *vertex = vp;
+ const struct isis_vertex *vertex = vp;
if (VTYPE_IP(vertex->type)) {
uint32_t key;