diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2022-11-30 18:01:43 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2022-11-30 18:01:43 +0300 |
commit | e8da064e0d16527a994ec7e3b2937363804b8e30 (patch) | |
tree | ba256495805423c43981becfd52b90337c225ca0 | |
parent | 765ef1098d169622ada67eb4eccad1d45d47a61c (diff) | |
download | nginx-e8da064e0d16527a994ec7e3b2937363804b8e30.tar.gz |
Fixed alignment of ngx_memmove()/ngx_movemem() macro definitions.
-rw-r--r-- | src/core/ngx_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 0fb9be72e..4378b649c 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -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 */ |