mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
Some older OSes (notably FreeBSD 4.x) did not have %zu
format specifier, so revert to using %d.
This commit is contained in:
parent
4489fa8893
commit
c2afb66e88
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue