aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 1861be601..707ab216b 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -94,7 +94,7 @@ typedef intptr_t ngx_flag_t;
#ifndef NGX_ALIGNMENT
-#define NGX_ALIGNMENT sizeof(unsigned long) /* platform word */
+#define NGX_ALIGNMENT sizeof(uintptr_t) /* platform word */
#endif
#define ngx_align(d, a) (((d) + (a - 1)) & ~(a - 1))