diff options
-rw-r--r-- | src/nxt_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_array.c b/src/nxt_array.c index 1e13c22a..0a7945ec 100644 --- a/src/nxt_array.c +++ b/src/nxt_array.c @@ -140,7 +140,7 @@ nxt_array_copy(nxt_mp_t *mp, nxt_array_t *dst, nxt_array_t *src) return NULL; } - nxt_memcpy(data, src->elts + (i * size), size); + nxt_memcpy(data, (char *) src->elts + (i * size), size); } } |