aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.c b/map.c
index 06be327..f01efc1 100644
--- a/map.c
+++ b/map.c
@@ -24,7 +24,7 @@ hash(const void *ptr, size_t len)
}
void
-mapkey(struct mapkey *k, const char *s, size_t n)
+mapkey(struct mapkey *k, const void *s, size_t n)
{
k->str = s;
k->len = n;