summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@nginx.com>2013-07-05 11:42:25 +0400
committerGleb Smirnoff <glebius@nginx.com>2013-07-05 11:42:25 +0400
commit050f74b751c10eeb2491ec6509d0508a7e690209 (patch)
treee9541351fa0778e383207a261dfcf6be7d19fe92 /src/core
parent523191ec89a11f3ffc81f6b6b710f46f86fa33d0 (diff)
downloadnginx-050f74b751c10eeb2491ec6509d0508a7e690209.tar.gz
nginx-050f74b751c10eeb2491ec6509d0508a7e690209.tar.bz2
Make macros safe.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index b0cb17fca..1da71f8d1 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -80,8 +80,8 @@ typedef uintptr_t ngx_uint_t;
typedef intptr_t ngx_flag_t;
-#define NGX_INT32_LEN sizeof("-2147483648") - 1
-#define NGX_INT64_LEN sizeof("-9223372036854775808") - 1
+#define NGX_INT32_LEN (sizeof("-2147483648") - 1)
+#define NGX_INT64_LEN (sizeof("-9223372036854775808") - 1)
#if (NGX_PTR_SIZE == 4)
#define NGX_INT_T_LEN NGX_INT32_LEN