Fixed alignment of ngx_memmove()/ngx_movemem() macro definitions.

This commit is contained in:
Maxim Dounin 2022-11-30 18:01:43 +03:00
parent 6ba33e6090
commit 8bb0ea63bf
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ ngx_copy(u_char *dst, u_char *src, size_t len)
#endif
#define ngx_memmove(dst, src, n) (void) memmove(dst, src, n)
#define ngx_movemem(dst, src, n) (((u_char *) memmove(dst, src, n)) + (n))
#define ngx_memmove(dst, src, n) (void) memmove(dst, src, n)
#define ngx_movemem(dst, src, n) (((u_char *) memmove(dst, src, n)) + (n))
/* msvc and icc7 compile memcmp() to the inline loop */