| commit | 9b2bc9c85f9f2edfec2f7d179e60215c6c9f5515 | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 03 20:06:45 2015 +0300 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 03 20:06:45 2015 +0300 |
| tree | 4c83a6987bf7a16722d7559c32f10de06003d845 | |
| parent | cfd8ecd54fc195876cca9b3011906c862a4eee9c [diff] [blame] |
Style: NGX_PTR_SIZE replaced with sizeof(void *). The NGX_PTR_SIZE macro is only needed in preprocessor directives where it's not possible to use sizeof().
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c index d2a8d01..cf665a4 100644 --- a/src/core/ngx_string.c +++ b/src/core/ngx_string.c
@@ -410,7 +410,7 @@ hex = 2; sign = 0; zero = '0'; - width = NGX_PTR_SIZE * 2; + width = 2 * sizeof(void *); break; case 'c':