aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-13 14:02:59 -0700
committerMichael Forney <mforney@mforney.org>2021-09-13 16:17:04 -0700
commit4e9690b6cb07de9f5a1927ec0b1a8d0c99ddbbe8 (patch)
tree5c1abf5742e83612f04e997bc146dd9312d364ca /map.c
parent32df8722283c6d2f5385870d36db75d514b33a5b (diff)
Make string literal data unsigned char
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;