From 4e9690b6cb07de9f5a1927ec0b1a8d0c99ddbbe8 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 13 Sep 2021 14:02:59 -0700 Subject: Make string literal data unsigned char --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.c') 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; -- cgit v1.2.3