Mercurial > hg > nginx
diff src/core/ngx_config.h @ 5262:626f288fa5ed
Make macros safe.
author | Gleb Smirnoff <glebius@nginx.com> |
---|---|
date | Fri, 05 Jul 2013 11:42:25 +0400 |
parents | d620f497c50f |
children | b92d5a26d55f |
line wrap: on
line diff
--- a/src/core/ngx_config.h Wed Jul 03 12:04:13 2013 +0400 +++ b/src/core/ngx_config.h Fri Jul 05 11:42:25 2013 +0400 @@ -80,8 +80,8 @@ 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