summaryrefslogtreecommitdiffstats
path: root/nhrpd/reqid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/reqid.c')
-rw-r--r--nhrpd/reqid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/reqid.c b/nhrpd/reqid.c
index 08a007bdf..e56bbe3bf 100644
--- a/nhrpd/reqid.c
+++ b/nhrpd/reqid.c
@@ -2,9 +2,9 @@
#include "hash.h"
#include "nhrpd.h"
-static unsigned int nhrp_reqid_key(void *data)
+static unsigned int nhrp_reqid_key(const void *data)
{
- struct nhrp_reqid *r = data;
+ const struct nhrp_reqid *r = data;
return r->request_id;
}