mirror of
https://github.com/nginx/nginx.git
synced 2024-11-27 23:49:00 +08: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
@ -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…
Reference in New Issue
Block a user