diff --git a/auto/types/sizeof b/auto/types/sizeof index 31411dde3..e1d405c65 100644 --- a/auto/types/sizeof +++ b/auto/types/sizeof @@ -26,7 +26,7 @@ $NGX_INCLUDE_INTTYPES_H $NGX_INCLUDE_AUTO_CONFIG_H int main() { - printf("%zu", sizeof($ngx_type)); + printf("%d", (int) sizeof($ngx_type)); return 0; }