diff options
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index d0b87e0e3..abef82d45 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -64,7 +64,7 @@ typedef struct { /* msvc and icc compile memcpy() to the inline "rep movs" */ #define ngx_memcpy(dst, src, n) memcpy(dst, src, n) -#define ngx_cpymem(dst, src, n) ((u_char *) memcpy(dst, src, n)) + n +#define ngx_cpymem(dst, src, n) ((u_char *) memcpy(dst, src, n)) + (n) /* msvc and icc compile memcmp() to the inline loop */ |