diff options
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r-- | src/nxt_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index 18ea5490..a5bb1f79 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -58,7 +58,7 @@ NXT_EXPORT void nxt_memcpy_upcase(u_char *dst, const u_char *src, nxt_inline void * nxt_cpymem(void *dst, const void *src, size_t length) { - return ((u_char *) memcpy(dst, src, length)) + length; + return memcpy(dst, src, length) + length; } |