mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Fixed more gcc46 warnings in configure tests.
Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
This commit is contained in:
@@ -28,9 +28,8 @@ do
|
||||
$NGX_INCLUDE_INTTYPES_H
|
||||
|
||||
int main() {
|
||||
$ngx_try i;
|
||||
i = 0;
|
||||
return 0;
|
||||
$ngx_try i = 0;
|
||||
return (int) i;
|
||||
}
|
||||
|
||||
END
|
||||
|
||||
@@ -15,9 +15,8 @@ cat << END > $NGX_AUTOTEST.c
|
||||
$NGX_INTTYPES_H
|
||||
|
||||
int main() {
|
||||
uintptr_t i;
|
||||
i = 0;
|
||||
return 0;
|
||||
uintptr_t i = 0;
|
||||
return (int) i;
|
||||
}
|
||||
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user