diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-13 14:02:59 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-09-13 16:17:04 -0700 |
commit | 4e9690b6cb07de9f5a1927ec0b1a8d0c99ddbbe8 (patch) | |
tree | 5c1abf5742e83612f04e997bc146dd9312d364ca /util.h | |
parent | 32df8722283c6d2f5385870d36db75d514b33a5b (diff) |
Make string literal data unsigned char
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ struct array { struct mapkey { uint64_t hash; - const char *str; + const void *str; size_t len; }; @@ -47,7 +47,7 @@ void *arraylast(struct array *, size_t); /* map */ -void mapkey(struct mapkey *, const char *, size_t); +void mapkey(struct mapkey *, const void *, size_t); struct map *mkmap(size_t); void delmap(struct map *, void(void *)); void **mapput(struct map *, struct mapkey *); |