[nginx] Fixed alignment of ngx_memmove()/ngx_movemem() macro definitions.
Roman Arutyunyan
arut at nginx.com
Tue Dec 6 15:26:33 UTC 2022
details: https://hg.nginx.org/nginx/rev/351d7f4e326f
branches:
changeset: 8108:351d7f4e326f
user: Maxim Dounin <mdounin at mdounin.ru>
date: Wed Nov 30 18:01:43 2022 +0300
description:
Fixed alignment of ngx_memmove()/ngx_movemem() macro definitions.
diffstat:
src/core/ngx_string.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 0b360747c74e -r 351d7f4e326f src/core/ngx_string.h
--- a/src/core/ngx_string.h Thu Nov 24 23:08:30 2022 +0400
+++ b/src/core/ngx_string.h Wed Nov 30 18:01:43 2022 +0300
@@ -140,8 +140,8 @@ ngx_copy(u_char *dst, u_char *src, size_
#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 */
More information about the nginx-devel
mailing list