summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-10-10 19:37:40 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-10-10 19:37:40 +0300
commitec0d5c928efcfb2d4958246d686718cb9747f722 (patch)
tree7db3f61085e0a3adcdcb26e5ebdde16ce4e05f48 /src/nxt_string.h
parent75453479f3d1d1c865ed2e2a51618dd014642e6f (diff)
downloadunit-ec0d5c928efcfb2d4958246d686718cb9747f722.tar.gz
unit-ec0d5c928efcfb2d4958246d686718cb9747f722.tar.bz2
Changed nxt_memcasecmp() interface to avoid casts.
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r--src/nxt_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h
index 8d7b3b73..de498048 100644
--- a/src/nxt_string.h
+++ b/src/nxt_string.h
@@ -87,7 +87,7 @@ NXT_EXPORT u_char *nxt_cpystrn(u_char *dst, const u_char *src, size_t length);
NXT_EXPORT nxt_int_t nxt_strcasecmp(const u_char *s1, const u_char *s2);
NXT_EXPORT nxt_int_t nxt_strncasecmp(const u_char *s1, const u_char *s2,
size_t length);
-NXT_EXPORT nxt_int_t nxt_memcasecmp(const u_char *s1, const u_char *s2,
+NXT_EXPORT nxt_int_t nxt_memcasecmp(const void *p1, const void *p2,
size_t length);
NXT_EXPORT u_char *nxt_memstrn(const u_char *s, const u_char *end,