]> git.kaiwu.me - nginx.git/commitdiff
Fixed alignment of ngx_memmove()/ngx_movemem() macro definitions.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 30 Nov 2022 15:01:43 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 30 Nov 2022 15:01:43 +0000 (18:01 +0300)
src/core/ngx_string.h

index 0fb9be72e7d276d19ca37f664a0fea29ae4e3916..4378b649c6a7e128591aeabf3164a23399304f5d 100644 (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 */